[pkg-gnupg-maint] Bug#814584: gnupg2: gpg2 --card-status fail on armel / Raspberry Pi - "Card error"
Petter Reinholdtsen
pere at hungry.com
Fri Jun 17 13:38:07 UTC 2016
[NIIBE Yutaka]
> Thank you. It seems that USB works well, but there is some problem in
> the communication. If possible, it's good to compare the log between
> RPi and another machine.
Here is the same output from 'gpg2 --card-status' on a amd64 machine:
2016-06-17 15:34:06 scdaemon[8236] listening on socket '/home/pere/.gnupg/S.scdaemon'
2016-06-17 15:34:06 scdaemon[8236] handler for fd -1 started
2016-06-17 15:34:06 scdaemon[8236] DBG: enter: apdu_open_reader: portstr=(null)
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: using CCID reader 0 (ID=08E6:3438:X:0)
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: idVendor: 08E6 idProduct: 3438 bcdDevice: 0200
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: ChipCard Interface Descriptor:
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bLength 54
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bDescriptorType 33
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bcdCCID 1.01 (Warning: Only accurate for version 1.0)
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: nMaxSlotIndex 0
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bVoltageSupport 7 ?
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwProtocols 3 T=0 T=1
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwDefaultClock 4800
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwMaxiumumClock 4800
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bNumClockSupported 0
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwDataRate 12903 bps
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwMaxDataRate 825806 bps
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bNumDataRatesSupp. 53
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwMaxIFSD 254
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwSyncProtocols 00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwMechanical 00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwFeatures 00010230
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: Auto clock change
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: Auto baud rate change
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: NAD value other than 0x00 accepted
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: TPDU level exchange
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: dwMaxCCIDMsgLen 271
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bClassGetResponse 00
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bClassEnvelope 00
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: wlcdLayout none
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bPINSupport 0
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: bMaxCCIDBusySlots 1
2016-06-17 15:34:07 scdaemon[8236] DBG: ccid-driver: usb_claim_interface failed: -1
2016-06-17 15:34:07 scdaemon[8236] detected reader 'Gemalto USB Shell Token V2 (0F9E69C2) 00 00'
2016-06-17 15:34:07 scdaemon[8236] reader slot 0: not connected
2016-06-17 15:34:07 scdaemon[8236] DBG: leave: apdu_open_reader => slot=0 [pc/sc]
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK GNU Privacy Guard's Smartcard server ready
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- GETINFO socket_name
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> D /home/pere/.gnupg/S.scdaemon
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- OPTION event-signal=12
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- SERIALNO openpgp
2016-06-17 15:34:07 scdaemon[8236] DBG: enter: apdu_connect: slot=0
2016-06-17 15:34:07 scdaemon[8236] DBG: feature: code=12, len=4, v=42330012
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=01, len=2, v=00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=03, len=1, v=00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=08, len=15, v=00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=09, len=1, v=00000000
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=0B, len=2, v=000008E6
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=0C, len=2, v=00003438
2016-06-17 15:34:07 scdaemon[8236] DBG: TLV properties: tag=0A, len=4, v=00010000
2016-06-17 15:34:07 scdaemon[8236] reader slot 0: active protocol: T1
2016-06-17 15:34:07 scdaemon[8236] slot 0: ATR=3B DA 18 FF 81 B1 FE 75 1F 03 00 31 C5 73 C0 01 40 00 90 00 0C
2016-06-17 15:34:07 scdaemon[8236] DBG: leave: apdu_connect => sw=0x0
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=A4 p1=00 p2=0C lc=2 le=-1 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 A4 00 0C 02 3F 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=6B00 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=A4 p1=04 p2=00 lc=6 le=-1 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 A4 04 00 06 D2 76 00 01 24 01
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: dump:
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=4F lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 4F 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=16
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00
2016-06-17 15:34:07 scdaemon[8236] AID: D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=5F p2=52 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 5F 52 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=10
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 00 31 C5 73 C0 01 40 05 90 00
2016-06-17 15:34:07 scdaemon[8236] Historical Bytes: 00 31 C5 73 C0 01 40 05 90 00
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=C4 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 C4 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=7
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 00 20 20 20 03 00 03
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 6E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=217
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00 5F 52 0A 00 31 C5 73 C0 01 40 05 90 00 73 81 B7 C0 0A 7C 00 08 00 08 00 08 00 08 00 C1 06 01 10 00 00 20 00 C2 06 01 10 00 00 20 00 C3 06 01 10 00 00 20 00 C4 07 00 20 20 20 03 00 03 C5 3C 46 A2 DF E2 8C 08 7B 29 4E 6F D9 24 81 28 0A A0 87 BA FB 0E D1 E0 09 66 AF B3 F2 0B F9 A6 EF 9B 71 22 2B 44 F9 1E 6D E9 2B 84 60 C4 1C F4 71 3C 14 13 3F F4 8E 3C 59 49 A0 43 9B AB C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 56 38 AE 19 56 39 2D C0 56 39 2F E6
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=7F p2=74 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 7F 74 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=6A88 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=5E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 5E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: dump:
2016-06-17 15:34:07 scdaemon[8236] Version-2 ......: yes
2016-06-17 15:34:07 scdaemon[8236] Get-Challenge ..: yes (2048 bytes max)
2016-06-17 15:34:07 scdaemon[8236] Key-Import .....: yes
2016-06-17 15:34:07 scdaemon[8236] Change-Force-PW1: yes
2016-06-17 15:34:07 scdaemon[8236] Private-DOs ....: yes
2016-06-17 15:34:07 scdaemon[8236] Algo-Attr-Change: yes
2016-06-17 15:34:07 scdaemon[8236] SM-Support .....: no
2016-06-17 15:34:07 scdaemon[8236] Max-Cert3-Len ..: 2048
2016-06-17 15:34:07 scdaemon[8236] Max-Cmd-Data ...: 2048
2016-06-17 15:34:07 scdaemon[8236] Max-Rsp-Data ...: 2048
2016-06-17 15:34:07 scdaemon[8236] Cmd-Chaining ...: no
2016-06-17 15:34:07 scdaemon[8236] Ext-Lc-Le ......: yes
2016-06-17 15:34:07 scdaemon[8236] Status Indicator: 05
2016-06-17 15:34:07 scdaemon[8236] Symmetric crypto: no
2016-06-17 15:34:07 scdaemon[8236] Button..........: no
2016-06-17 15:34:07 scdaemon[8236] GnuPG-No-Sync ..: no
2016-06-17 15:34:07 scdaemon[8236] GnuPG-Def-PW2 ..: no
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 6E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=217
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00 5F 52 0A 00 31 C5 73 C0 01 40 05 90 00 73 81 B7 C0 0A 7C 00 08 00 08 00 08 00 08 00 C1 06 01 10 00 00 20 00 C2 06 01 10 00 00 20 00 C3 06 01 10 00 00 20 00 C4 07 00 20 20 20 03 00 03 C5 3C 46 A2 DF E2 8C 08 7B 29 4E 6F D9 24 81 28 0A A0 87 BA FB 0E D1 E0 09 66 AF B3 F2 0B F9 A6 EF 9B 71 22 2B 44 F9 1E 6D E9 2B 84 60 C4 1C F4 71 3C 14 13 3F F4 8E 3C 59 49 A0 43 9B AB C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 56 38 AE 19 56 39 2D C0 56 39 2F E6
2016-06-17 15:34:07 scdaemon[8236] Key-Attr-sign ..: RSA, n=4096, e=32, fmt=std
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 6E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=217
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00 5F 52 0A 00 31 C5 73 C0 01 40 05 90 00 73 81 B7 C0 0A 7C 00 08 00 08 00 08 00 08 00 C1 06 01 10 00 00 20 00 C2 06 01 10 00 00 20 00 C3 06 01 10 00 00 20 00 C4 07 00 20 20 20 03 00 03 C5 3C 46 A2 DF E2 8C 08 7B 29 4E 6F D9 24 81 28 0A A0 87 BA FB 0E D1 E0 09 66 AF B3 F2 0B F9 A6 EF 9B 71 22 2B 44 F9 1E 6D E9 2B 84 60 C4 1C F4 71 3C 14 13 3F F4 8E 3C 59 49 A0 43 9B AB C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 56 38 AE 19 56 39 2D C0 56 39 2F E6
2016-06-17 15:34:07 scdaemon[8236] Key-Attr-encr ..: RSA, n=4096, e=32, fmt=std
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 6E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=217
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00 5F 52 0A 00 31 C5 73 C0 01 40 05 90 00 73 81 B7 C0 0A 7C 00 08 00 08 00 08 00 08 00 C1 06 01 10 00 00 20 00 C2 06 01 10 00 00 20 00 C3 06 01 10 00 00 20 00 C4 07 00 20 20 20 03 00 03 C5 3C 46 A2 DF E2 8C 08 7B 29 4E 6F D9 24 81 28 0A A0 87 BA FB 0E D1 E0 09 66 AF B3 F2 0B F9 A6 EF 9B 71 22 2B 44 F9 1E 6D E9 2B 84 60 C4 1C F4 71 3C 14 13 3F F4 8E 3C 59 49 A0 43 9B AB C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 56 38 AE 19 56 39 2D C0 56 39 2F E6
2016-06-17 15:34:07 scdaemon[8236] Key-Attr-auth ..: RSA, n=4096, e=32, fmt=std
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S SERIALNO D276000124010201000500002DF00000 0
2016-06-17 15:34:07 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:07 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:07 scdaemon[8236] updating reader 0 (0) status: 0x0000->0x0007 (0->1)
2016-06-17 15:34:07 scdaemon[8236] sending signal 12 to client 3946
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- SERIALNO openpgp
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S SERIALNO D276000124010201000500002DF00000 0
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- SERIALNO
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S SERIALNO D276000124010201000500002DF00000 0
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- LEARN --force
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S SERIALNO D276000124010201000500002DF00000 0
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S APPTYPE OPENPGP
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S EXTCAP gc=1+ki=1+fc=1+pd=1+mcl3=2048+aac=1+sm=0+si=5+dec=0+bt=0
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=65 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 65 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=31
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 5B 14 52 65 69 6E 68 6F 6C 64 74 73 65 6E 3C 3C 50 65 74 74 65 72 5F 2D 02 65 6E 5F 35 01 39
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S DISP-NAME Reinholdtsen<<Petter
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S DISP-LANG en
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S DISP-SEX 9
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=5F p2=50 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 5F 50 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: dump:
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S PUBKEY-URL
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 6E 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=217
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D F0 00 00 5F 52 0A 00 31 C5 73 C0 01 40 05 90 00 73 81 B7 C0 0A 7C 00 08 00 08 00 08 00 08 00 C1 06 01 10 00 00 20 00 C2 06 01 10 00 00 20 00 C3 06 01 10 00 00 20 00 C4 07 00 20 20 20 03 00 03 C5 3C 46 A2 DF E2 8C 08 7B 29 4E 6F D9 24 81 28 0A A0 87 BA FB 0E D1 E0 09 66 AF B3 F2 0B F9 A6 EF 9B 71 22 2B 44 F9 1E 6D E9 2B 84 60 C4 1C F4 71 3C 14 13 3F F4 8E 3C 59 49 A0 43 9B AB C6 3C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 0C 56 38 AE 19 56 39 2D C0 56 39 2F E6
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-FPR 1 46A2DFE28C087B294E6FD92481280AA087BAFB0E
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-FPR 2 D1E00966AFB3F20BF9A6EF9B71222B44F91E6DE9
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-FPR 3 2B8460C41CF4713C14133FF48E3C5949A0439BAB
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-TIME 1 1446555161
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-TIME 2 1446587840
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-TIME 3 1446588390
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=C4 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 C4 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=7
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 00 20 20 20 03 00 03
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S CHV-STATUS +0+32+32+32+3+0+3
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=00 p2=7A lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 00 7A 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=5
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 93 03 00 01 A8
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S SIG-COUNTER 424
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=01 p2=01 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 01 01 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: dump:
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S PRIVATE-DO-1
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=CA p1=01 p2=02 lc=-1 le=256 em=0
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 CA 01 02 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=0
2016-06-17 15:34:07 scdaemon[8236] DBG: dump:
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S PRIVATE-DO-2
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=2048 em=1
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 47 81 00 00 00 02 B6 00 08 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=527
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 7F 49 82 02 0A 81 82 02 00 BF 2D 30 2D 26 FD 48 D8 99 EE DA DC B1 45 F9 E3 17 B8 44 F9 43 E6 B4 01 97 52 67 7E 75 7F 9D 65 A0 F1 D3 85 7C F1 A2 AC 0A D1 4B 74 2A 87 C4 42 60 7F 45 79 2C EB B9 77 16 F4 8C 8D 06 02 44 53 1B B0 BE 10 C7 4A 76 3C E0 5E 5C 79 A9 8D 58 7D 0A 82 08 7B 61 5B 4F E2 87 03 1D 54 60 3D D3 2F D4 7D 00 70 BC 7D A4 80 DE 61 4F 0C 4F 6A 24 2B D3 BB 92 95 FB 98 48 00 9B E0 20 9C 8C 2F 2F CB D7 2D C5 81 19 CD 82 6D 6A AC 7F CC 43 32 AE 9A 84 46 83 70 84 C7 F4 E2 9E B9 81 C6 43 12 1E 7B F2 48 44 6B DB FF 42 D6 CE 7C 35 FB 5B B5 35 3B F3 EC 8A EC 60 AB 2D 96 E9 0B 1C A8 1B 49 B1 FF 6A 15 DB 00 A0 BC C7 A5 C2 99 AA 03 CE 18 DE 41 3C 35 AC 31 1A 67 E3 04 F2 89 2D 77 B4 9B F4 A2 33 CB 56 CD 0F 1E BC 73 06 60 2E 7B 72 6E 22 A5 48 4A 3A EE F6 B9 0F 53 88 1C B6 DB 99 81 AE 0B FB A8 A9 BC D8 9D 54 5F DF 3B A0 E0 E4 38 65 83 29 27 79 E3 ED 7B D5 09 AC 85 6B B8 08 69 8C AA B8 D4 00 92 A1 0F C0 BC 39 1C 68 4E 0C 83 C9 94 A0 69 CD B4 7F F2 A8 B6 06 9D 2B A4 E5 F9 3E EE BB F8 BB 3B A8 8C 14 D9 6F E5 4D E1 FC 9A 69 7A 03 9F 75 8A F5 8E 16 1A 89 BB 86 23 A2 3D F4 2F 0F 6E 39 F8 B2 A8 64 C2 74 D5 22 8C B9 87 AC ED 8D 27 75 ED 32 03 70 0F 1A B7 C4 E9 51 D3 8D 06 06 F0 3B 37 49 05 CB 38 2A C1 72 B2 39 B5 31 33 CD 78 D4 01 EB 26 83 2A 93 57 56 02 7D CC CC 85 09 C8 9A F2 C2 41 21 AE 36 B3 3B 2B 4E B0 F4 0B 56 C3 31 35 76 E7 EF 55 C6 5C C3 F2 3B FA 0B D9 28 E6 3A CA 90 66 B7 BB EB DB 54 60 D6 6D BB 83 FA 02 F1 92 09 C7 F3 31 9E 83 10 E1 49 8C 0A 2C FC 93 57 87 50 88 EF 0A DE 1B 17 07 D8 7D 3C 47 EB 28 3B 29 8F 96 E9 02 5C 8C B6 15 9E A4 E2 6F 82 04 00 01 00 01
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEYPAIRINFO 8A86B17C68C27E8623FC2D3F85E84E4731C00A22 OPENPGP.1
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=2048 em=1
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 47 81 00 00 00 02 B8 00 08 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=527
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 7F 49 82 02 0A 81 82 02 00 D6 42 6D 95 41 57 E6 A8 94 39 FB B4 31 DF 57 1A A5 D5 54 9E D9 2D A9 35 12 08 FC 94 9C B7 DC 5B E6 38 F4 AD DA 7B 3E 2F AC 8F 61 7F 70 C1 5F E8 28 53 08 25 EA 50 8C C3 23 25 A1 0A E6 CD DC 6E 9E E6 DE 74 2E 34 03 8A D1 77 0E AC A5 38 A0 C8 86 9D 4B 64 A2 BC 0C 06 2F EA A4 87 AA A8 8A 50 77 36 0C C1 FB 2D 2A 37 DF A0 93 44 B6 E3 36 9E F8 48 72 6F 9A 7F BF 0A F9 04 66 E3 D8 BC A3 E5 0B F6 F1 A3 54 54 0F 47 B6 73 AC 61 26 4F 71 3A 4D 93 54 16 13 F2 E8 DC 79 CE 9E B0 97 88 F2 00 05 13 1F 64 4E C2 3E 45 63 F1 DE AF 37 30 23 1F 01 C7 7D 38 D9 1A 42 6B 47 1D 3F 10 6C 4E 78 DC A4 07 A1 4E 93 BB 73 2D BA F5 28 97 AB 0B 51 D3 24 DF 76 8D AC AF 24 05 03 AC 9D 5C 14 78 C4 2F 07 2A 53 21 8F 7E 3E D1 17 E8 E6 72 E0 07 84 90 5E 2A 59 FF BE 68 82 E2 FF 9F 97 FD F2 F8 39 35 FE 70 E9 13 CB E6 1B FD 21 FC BD B5 A3 FA 1D A5 96 B7 0F 3E 86 AD BF B0 90 D1 E5 9D 5D 96 23 46 67 87 9C 84 5B 4C 66 E9 9F 27 1B 22 03 89 58 24 65 7A 31 74 13 FA 69 19 7D 2B 35 E3 6D 64 1D 01 F6 9D 5D 2B 0E E3 D5 DB C5 57 88 0E 76 E4 3B 15 69 17 20 CC 80 47 F7 F3 43 13 15 38 1F E8 21 6F 9A F9 7D 65 5F CE C3 F5 99 BD 97 39 81 A5 E9 3C 54 85 E5 2A 54 F0 B2 C9 35 3A E2 97 25 F9 9A 2F 6E AC 4F 3C 4C 6D 5F D3 42 70 00 16 05 EB 54 52 14 21 9D B7 70 4E 8D 20 33 9A 56 C6 C7 16 2A E9 1A 1B 5C 00 DD CC B0 97 3A 1F 0D E8 36 F0 25 C6 4C 3C 63 42 F7 E1 99 1B A8 33 24 10 6E BF 1F 0B 57 F9 1F 39 92 6F E5 92 67 BB 60 36 C4 B4 ED E8 75 1E 48 A7 DD CB 0D DE 37 33 F7 37 8A 93 2E 67 06 12 DF 30 F6 D0 59 25 4C E1 3F B9 03 3E 87 E0 03 62 0D 1B 22 A2 15 7A B6 50 3A FF 42 0E 37 8D 82 04 00 01 00 01
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEYPAIRINFO 983477275CAEE9E0D1BC96AE9ACABBC6EE1D514E OPENPGP.2
2016-06-17 15:34:07 scdaemon[8236] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=2048 em=1
2016-06-17 15:34:07 scdaemon[8236] DBG: PCSC_data: 00 47 81 00 00 00 02 A4 00 08 00
2016-06-17 15:34:07 scdaemon[8236] DBG: response: sw=9000 datalen=527
2016-06-17 15:34:07 scdaemon[8236] DBG: dump: 7F 49 82 02 0A 81 82 02 00 E4 49 04 C4 18 B5 54 B1 E1 00 76 90 B4 B5 77 F4 FD 91 04 3E 50 B1 1B 59 70 7F 47 B5 B1 39 5F FD 6D 70 96 D0 12 CB FA 31 61 6A 2D 56 2A F4 CB 5D 29 3C 1B E5 28 0A B2 E7 A8 5B C3 E0 6C BC 3F BA 87 5B 3F 82 7A F5 BE C5 6A 15 06 EC 6F 8A 47 6B F9 C5 CA FB AA 9E 02 E1 A5 EA 16 3F CD DB AA CA 1B 81 CD 57 8F 27 4C 87 D2 86 23 4C FC 18 16 E1 58 03 90 21 B1 17 AB DF EA D7 4C 3F F6 2B 45 2D 39 C5 75 58 E1 05 97 85 1C D6 61 81 BF A8 A3 92 E6 C2 D4 E2 FB C9 E6 68 51 AF B6 F0 4E AF 29 D3 49 6A 84 87 68 C8 AE 8F 3D 1F 3C 23 EC A6 2F F5 1A 0F C4 79 EE D1 C5 DB 6B 72 69 02 26 36 EB 06 0B 86 1A 4B 49 82 05 36 59 E1 BE FD 91 D2 D2 4F 60 94 49 19 13 3B 15 C9 52 42 4A 04 D8 BA 8F 10 A9 44 30 36 B1 4F 58 FF 92 A1 93 0E 4D 60 84 E7 81 53 80 B0 42 FC 0C 38 A0 D5 0D 50 45 7D 10 53 86 9F 41 08 17 13 BA CD 51 A8 9B 78 92 11 F0 21 E6 F6 47 9A E8 98 75 4C D9 6E 28 82 1F 7D 15 B4 FF 63 64 09 1F C1 02 19 CD 0E 12 8A 78 D7 03 70 4D 2D FD 5C EA C2 3A 28 8D DD D9 5A 22 13 40 C7 07 52 20 BF C0 E4 6F 71 74 C4 A3 F9 AC 04 FD A0 7B 18 6C 9D 46 40 F2 2C 79 8C 84 A3 87 6C 70 17 ED A6 AC 24 4E 40 D7 1C D4 99 33 B0 4D E1 FB E3 14 EC 53 02 40 3D 3D FF FD 4C 81 48 22 D6 E8 35 F1 21 C1 85 92 6B D2 30 3D 4F 26 BD A7 59 07 19 E6 36 AC 98 AE 5B C2 94 D6 07 03 34 1B F2 C3 C8 9E A6 3A 13 1B 9F 64 BB 72 0D 6C 6A 30 B7 5E 0C 0A 44 8E 2D 6C 21 DA 92 9E C2 79 AD 00 F9 7A 9A 3A F7 4B 13 C7 71 5A F0 29 7A 66 C5 60 08 48 26 8B 5F 7F 98 FB 18 70 E9 1D AD CC F1 DE D7 3A 7D A3 E4 10 3A C5 A2 18 56 83 F1 A5 68 BD E3 A3 0D 54 B8 ED 76 86 46 63 34 DD 80 84 C8 80 F9 02 95 82 04 00 01 00 01
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEYPAIRINFO E9BB3DC6DA41D65CD9386AEF07EFA5FB08E51B3F OPENPGP.3
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 <- GETATTR KEY-ATTR
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-ATTR 1 1 rsa4096 32 1
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-ATTR 2 1 rsa4096 32 1
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> S KEY-ATTR 3 1 rsa4096 32 1
2016-06-17 15:34:07 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:08 scdaemon[8236] DBG: chan_5 <- RESTART
2016-06-17 15:34:08 scdaemon[8236] DBG: chan_5 -> OK
2016-06-17 15:34:08 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:08 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:08 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:08 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:09 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:09 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:09 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:09 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:10 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:10 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:10 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:10 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:11 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:11 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:11 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:11 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
2016-06-17 15:34:12 scdaemon[8236] DBG: enter: apdu_get_status: slot=0 hang=0
2016-06-17 15:34:12 scdaemon[8236] DBG: leave: apdu_get_status => sw=0x0 status=7 changecnt=1
Same smart card reader and card, this time on Debian Jessie.
--
Happy hacking
Petter Reinholdtsen
More information about the pkg-gnupg-maint
mailing list