Yubico Forum
https://forum.yubico.com/

QUESTION: gpg2 --card-status did not work with new yubikey
https://forum.yubico.com/viewtopic.php?f=26&t=2604
Page 1 of 1

Author:  uvolmer [ Thu Mar 16, 2017 10:27 pm ]
Post subject:  QUESTION: gpg2 --card-status did not work with new yubikey

Hello,

i have just received a new yubikey neo. An older one work successfuully.

After some trouble with changing the pin i have try to reset the user/admin pin.

(from one some website)
/hex
scd serialno
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 44 00 00
scd apdu 00 e6 00 00

sadly, after paste this command into gpg-connect-agent, gpg --card-edit | --card-status did not longer works:

[ulf@bob ~]$ gpg2 --card-status
gpg: OpenPGP card not available: Not supported

same command with the older yubikey works as expected.

'ykinfo -a' gives me:

serial: 4886268
serial_hex: 4a8efc
serial_modhex: fljuvr
version: 3.4.9
touch_level: 1039
programming_sequence: 3
slot1_status: 1
slot2_status: 1
vendor_id: 1050
product_id: 111

OS is fedora fc25.

any suggestions are welcome.

best regards
Ulf

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/