Open nderjung opened 7 years ago
Sorry for taking so long to reply. I'm not sure what's causing your error but my guess would be that it's related to getting openssl
or the Cryptography
package working.
As to your second concern: Assuming that you pasted the user's public key into their authorized_keys
file, that user would need to convert their (in this case) keybase key into the SSH format before they attempted to log in to your server. This would probably look something like gpg --armor --export-secret-keys user@example.com | lokey to ssh > ~/.ssh/from-pgp
(if this doesn't work, I should fix lokey
so it does!)
Once they've done that, then I would do something like ssh -i ~/.ssh/from-pgp username@yourhost.example.com
– at least this is one of the use cases I imagined for people, not sure if that's what people would want to do.
I've installed this via pip and attempted your example, however:
Yields the following:
My second concern is attempting to use ssh once the user has had their key authorised. What mechanism is used to convert the keybase public key, or their gpg key in general, to a private ssh key? What is the pipeline from keybase to ssh?