Integration with OpenKeychain for SSH keys #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On Android, OpenKeychain could be used to store PGP keys; these can contain authentication subkeys that can be used to login to SSH. OpenKeychain has an SSH authentication API that we can use to sign challenges.
JSch (the SSH library we use) has pluggable identity support, through the IdentityRepository interface (this is what jsch-agent-proxy does). In particular it looks like Identity.getSignature(byte[]) would delegate to the
org.openintents.ssh.action.SIGN
action?Another option might be OkcAgent which is a implementation of ssh-agent that bridges between Termux and OpenKeychain. This app comes in two parts, the Android app and the native Termux app, and from a cursory look it's unclear which parts are responsible for what. If my hunch is correct then the Android app implements the agent logic and the Termux app just forwards to it, perhaps we can bypass the need for that Termux bridge and use jsch-agent-proxy to talk to OkcAgent like any other ssh-agent.