Hello,

Using GPG version 2.2.25 I am unable to set values other than the user and 
admin pins.   When I use the verify function to check the pin, it is 
successful.   This happens both on a new Yubikey 5 and a Yubikey 4 that was 
reset.

Steps to reproduce
1.  Set user and admin pins.
2.  Run "gpg --card-edit"
3. Enter admin mode with the admin command
4.  Enter name 
5.  Enter surname 
6.  Enter first name 

Produces the response:
 gpg: error setting Name: Bad PIN
Note, it does not prompt me for the PIN before producing the error.


gpg --card-status produces:
Reader ...........: Yubico YubiKey OTP FIDO CCID 00 00
Application ID ...: D2760001240103040006157585540000
Application type .: OpenPGP
Version ..........: 3.4
Manufacturer .....: Yubico
Serial number ....: 15758554
Name of cardholder: [not set]
Language prefs ...: [not set]
Salutation .......: 
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa2048 rsa2048 rsa2048
Max. PIN lengths .: 127 127 127
PIN retry counter : 0 0 0
Signature counter : 0
KDF setting ......: off
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]

Thank you for your assistance.

Mark Gannon


Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to