gpg2 does not detect smart card adapter

Jan Suhr jan.suhr at privacyfoundation.de
Fri Jul 3 17:33:56 CEST 2009


>>>    gpg-connect-agent 'SCD getinfo version' /bye
>> Executing this command does not work. gpg-connect-agent says it got
>> wrong arguments. Or do you mean to replace 'SCD getinfo version' by
> 
> See:
> 
>   $ gpg-connect-agent 'SCD getinfo version' /bye
>   D 2.0.13-svn5056
>   OK
> 
> Please give the exact error message.  Anyway I think scdaemon is not
> installed and thus gpg-agent can't run it.

I get the following message:
"Aufruf: gpg-connect-agent [Optionen] (-h für Hilfe)"

What to do?

>> Non-root users have read access only - to any USB device. It guess
>> that pcscd has root privileges; so this is fine?
> 
> If you are using pcscd, it needs access to the reader as well.  If it is
> really running under the root account, that should work.  If you are
> using the internal ccid-driver of scdameon, you (i.e. scdaemon) needs
> write permissions to the smartcard reader device.

Hopefully we will get this ok when the above problem is solved.

>>> Restart scdaemon (Use "kill" or with the latest GnuPG versions:
>>> "gpgconf--reload scdaemon").
>> Is "/etc/init.d/pcscd restart" doing the same job?
> 
> Nope, pcscd and scdaemon are distinct programs.  Scdaemon is part of
> gpg-agent; the reload is only required to make it re-read thye
> configuration file.
> 
> 
> Shalom-Salam,
> 
>    Werner
> 


-- 
Jan Suhr
German Privacy Foundation e.V. https://www.privacyfoundation.de/
Anonymous e-mail: https://www.awxcnx.de/jansuhr.msg



More information about the Gnupg-users mailing list