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
&
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
I have openpgp keys loaded on a yubikey in smartcard mode but am having
problems accessing the card. Originally there were some permission issues but i
worked them out to the point that gpg --card-status consistently reads the
card. This is on fedora. However gpg2 --card-status gives "gpg