Problems reading smartcard

Healer64 Healer64 at protonmail.com
Mon Dec 25 21:34:54 CET 2017


Ah, that makes sense. Thanks. I'll try asking on an selinux help forum and see if they have any ideas.

Sent with [ProtonMail](https://protonmail.com) Secure Email.

> -------- Original Message --------
> Subject: Re: Problems reading smartcard
> Local Time: December 22, 2017 1:14 PM
> UTC Time: December 22, 2017 7:14 PM
> From: peter at digitalbrains.com
> To: Healer64 <Healer64 at protonmail.com>, gnupg-users at gnupg.org <gnupg-users at gnupg.org>
>
> I think the problem is that gpg2 is not the one doing the smartcard calls. It
> spawns a gpg-agent process, which then spawns an scdaemon process. These two are
> still running when you're back at the command prompt.
>
> gpg does not do this by default, it talks to the card directly. However, after
> gpg2 has spawned its helpers, these helpers are still alive, and holding the
> card reader exclusively. So now gpg can no longer access the card reader
> because scdaemon, running in the background, already has it open.
>
> I don't know /anything/ about SELinux. But hopefully now you can look in the
> right place, because I think you got sidetracked by the gpg2 process not
> actually doing the business.
>
> HTH,
>
> Peter.
>
> I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
> You can send me encrypted mail if you want some privacy.
> My key is available at http://digitalbrains.com/2012/openpgp-key-peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20171225/61019c8d/attachment.html>


More information about the Gnupg-users mailing list