Skip to content

pcscd - GnupG - HW-Smartcard dont work as expected #62408

Description

@deutschem1

Hello,

I have the following problem (should I move this to "Void packages?":
GPG-Key on smartcard. worked in terminal. worked in thunderbird. but:
when I unplug the smartcard and replugin the thunderbird I cannot decrypt the message anymore (no PIN asking...)

if i run in terminal for example "gpg --list-packets ~/.gpg-wakeup.asc" (and i get a PIN-ask), then thunderbird works immediately decrypting messages. suprising: a "gpg --card-status" (as i suspected is enough) didnt work.

The problem is most likely due to the "initialization of the smart card service (pcscd)" and how it communicates with the gpg-agent.

experimentet with scdaemon.conf:

disable-ccid
and
pcsc-shared

no luck.

summary of the problem (maybe):
under GnuPG 2.4.9, a gpg --card status after a card change is not sufficient to initialize the hardware for external clients (such as thunderbird), whereas a call to gpg --list-packets with an encrypted file does.

(I switched from Debian to voidlinux and all worked before)

regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions