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

On Fri, 22 Oct 2010 18:04, hawke at 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.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list