gpg-agent 2.1.0's ssh-agent functionality produces error messages about smartcards when no smartcards are present or used

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Nov 21 01:16:50 CET 2014


when i use gpg-agent 2.1.0's ssh-agent functionality, and try to make
use of an existing ssh key, gpg-agent produces some pointless error
messages:

scdaemon[7674]: pcsc_establish_context failed: no service (0x8010001d)
scdaemon[7674]: pcsc_establish_context failed: no service (0x8010001d)
gpg-agent[7636]: no authentication key for ssh on card: Card error

This is visible only if stderr remains bound to the terminal.

so, for example, launch gpg-agent as:

 gpg-agent --daemon --enable-ssh-agent --no-detach

This happens even if there is no smartcard configured or used for ssh.

These seem like spurious warnings to me, which might distract from more
important warnings.

     --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 948 bytes
Desc: not available
URL: </pipermail/attachments/20141120/a68f1583/attachment.sig>


More information about the Gnupg-devel mailing list