Mac Pinentry problem

Rainer Hoerbe rainer at
Fri Mar 17 22:44:47 CET 2017

I copied my key to a OpenPGP card and was able to create signatures and authentication via SSH using the card. Now moving the the Mac I am stuck with pinentry-mac, because it keeps asking me for another card.

gpg --delete-secret-keys 0x64C2F99E904F1906
gpg2 --card-status
gpg2 --clearsign /etc/hosts

pinentry-mac brings up a dialogue box, asking to insert the card with the serial number D2760001240102000006030374100000. The Application ID (is this the serial number?) do not match. 

gpg2 --card-status
Reader ...........: Gemalto PC Twin Reader
Application ID ...: D276000124010201000500004EBD0000
Version ..........: 2.1
Manufacturer .....: ZeitControl
Serial number ....: 00004EBD
Name of cardholder: Rainer Hoerbe
Language prefs ...: de
Sex ..............: male
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 32 32 32
PIN retry counter : 3 0 3
Signature counter : 2
Signature key ....: 7D23 36BF A95F F788 4C80  B7DA 64C2 F99E 904F 1906
      created ....: 2017-01-30 14:47:18
Encryption key....: [none]
Authentication key: [none]
General key info..: pub  rsa2048/0x64C2F99E904F1906 2017-01-30 Rainer Hoerbe (Identinetics GmbH) <rh at>
sec>  rsa2048/0x64C2F99E904F1906  created: 2017-01-30  expires: 2027-01-28
                                  card-no: 0006 03037410

What could be the problem?


More information about the Gnupg-users mailing list