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

[Question] Openpgp smartcard disabled after generating OTP
https://forum.yubico.com/viewtopic.php?f=26&t=1241
Page 1 of 1

Author:  halstead [ Tue Nov 26, 2013 1:27 am ]
Post subject:  [Question] Openpgp smartcard disabled after generating OTP

Hello.

I have the Yubikey NEO set up and working in mode 0x82 (OTP HID+OpenPGP CCID) but when I touch the OTP button the OpenPGP functionality stops working.

Inserting the NEO and going about my GPG related business works fine but after I generate OTP (or output a static password) I must remove and reinsert the key to use the openpgp functionality. Is the smartcard temporarily removed during keyboard input? Logs show:

Nov 25 14:50:21 pcscd: 00000376 commands.c:1407:CCID_Receive Slot busy
Nov 25 14:50:21 pcscd: 00000007 ifdwrapper.c:527:IFDTransmit() Card not transacted: 612
Nov 25 14:50:21 pcscd: 00000002 winscard.c:1612:SCardTransmit() Card not transacted: 0x8010

2013-11-25 14:28:31 gpg-agent[1650] smartcard signing failed: General error
2013-11-25 14:49:50 gpg-agent[1650] DBG: detected card with S/N xxxxxxx

Running "sudo systemctl stop pcscd.service" and then starting "scdaemon --multi-server" from the command line seems to fix the problem. That shouldn't be required though.

Does anyone know what to change so pcscd will continue working after getting a OTP?

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