gpgkey2ssh

Werner Koch wk at gnupg.org
Mon Oct 25 16:39:18 CEST 2010


On Fri, 22 Oct 2010 18:04, hawke at hawkesnest.net said:

> Why does it not do this on its own for non-smartcard authentication
> keys?  Shouldn’t they already be in gpg-agent?

gpg-agent does not known about GPG or OpenPGP or X/509.  Thus there is
no chance it may known about an key stored in GPG's keyrings.

You could script something to automagically add all OpenPGP keys flagged
as authentication key into gpg-agent for ssh's use.  However you don't
want that: The ssh-agent protocol iterates over all keys the agent
returns and tries them all in turn (over the network).  Thus with tens
of keys it takes really long to setup an ssh connection.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list