Hi misc@,

I have been trying to setup my OpenPGP smartcard for use with GPG, on
OpenBSD 7.7-release. It all functions properly when running as root,
however, when running it as my user, who is in the wheel group, it
errors out with:

gpg: selecting card failed: Service is not running
gpg: OpenPGP card not available: Service is not running

Trying to chown /dev/ugen2* makes no difference.
I'm on amd64. Here is what I believe is the relevant dmesg output:

ugen2 at uhub3 port 6 "SCM Microsystems Inc. SCR3340 - \
    ExpressCard54 Smart Card Reader" rev 2.00/5.25 addr 3

Additionally, my user can detect the card with pcscd, but
this prevents gpg-card from working, which errors
out with:

Error reading card: Card not present

even though the card is present, and fills the dmesg output (several
thousand unending lines) with:
tsleep_nsec: scdaemon[29818]: ugenrintr: trying to sleep zero \
    nanoseconds

Thanks a ton,
-scrub

Reply via email to