SCD: Stable branch "Invalid ID" when attempting to sign with bp384 yubikey
Closed, ResolvedPublic

Description

With my key:
sec> rsa3072 2015-12-08 [SC] [expires: 2025-12-05]

94A5C9A03C2FE5CA3B095D8E1FDF723CF462B6B1
Card serial no. = 0005 00002D9A

uid [ultimate] Andre Heinecke <aheinecke@g10code.com>
uid [ultimate] Andre Heinecke <aheinecke@intevation.de>
uid [ultimate] Andre Heinecke <aheinecke@gnupg.org>
uid [ultimate] Andre Heinecke <andre@heinecke.or.at>
uid [ultimate] Andre Heinecke <andre.heinecke@intevation.de>
uid [ultimate] Andre Heinecke <aheinecke@gnupg.com>
uid [ultimate] Andre Heinecke <aheinecke@chelydra.at>
ssb> ed25519 2017-02-13 [S]

7093194AADBB8A2D14D3C9172978E9D40CBABA5C
Card serial no. = FFFE 87062222

ssb> ed25519 2017-02-13 [A]

DA620BC2AEB38D67D94CCBA6DC74D901C8E2DD47
Card serial no. = FFFE 87062222

ssb> cv25519 2017-02-13 [E] [revoked: 2017-02-23]

3FB3881264DFA26D1480E12A1FFE3151683260AB
Card serial no. = FFFE 87062222

ssb> rsa3072 2015-12-08 [E] [expires: 2025-08-31]

E18955A9626007093BDC2ED28CC999BDAA45C71F
Card serial no. = 0005 00002D9A

ssb> rsa3072 2015-12-08 [A] [expires: 2025-12-05]

29BBD11A777BAE2C2611C2916304A4B539CE444A
Card serial no. = 0005 00002D9A

ssb> brainpoolP384r1 2020-08-06 [S]

515BCB7D635987ABA446EB16EF20562ABF3290E6
Card serial no. = 0005 00002D9A

ssb> brainpoolP384r1 2020-08-06 [E]

6A4800CD2256F501D87E7DD75CB09E43DC49649F
Card serial no. = 0006 12080855

Maybe a reason:
ssb> brainpoolP384r1 2020-08-06 [S]

515BCB7D635987ABA446EB16EF20562ABF3290E6
Card serial no. = 0005 00002D9A

^ Has the wrong serial no. This is the serial no of my primary key token and not of the yubikey.

Master works though. So I think backporting something might help. @gniibe could you look at that? I think we will maintain stable branch for quite a while and so this should be fixed a some point. I give it only normal priority because my key is experimental by choice.

2020-12-18 09:24:21 scdaemon[6355] listening on socket '/run/user/1000/gnupg/S.scdaemon'
2020-12-18 09:24:21 scdaemon[6355] handler for fd -1 started
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK GNU Privacy Guard's Smartcard server ready
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 <- GETINFO socket_name
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> D /run/user/1000/gnupg/S.scdaemon
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 <- OPTION event-signal=12
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 <- SERIALNO
2020-12-18 09:24:21 scdaemon[6355] reader slot 0: using ccid driver
2020-12-18 09:24:21 scdaemon[6355] slot 0: ATR=3B DA 18 FF 81 B1 FE 75 1F 03 00 31 C5 73 C0 01 40 00 90 00 0C
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=A4 p1=00 p2=0C lc=2 le=-1 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 A4 00 0C 02 3F 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6B00  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=A4 p1=04 p2=00 lc=6 le=-1 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 A4 04 00 06 D2 76 00 01 24 01
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:     dump:  
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=4F lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 4F 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=16
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 00 00
2020-12-18 09:24:21 scdaemon[6355] AID: D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 00 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=52 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 52 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=10
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  00 31 C5 73 C0 01 40 05 90 00
2020-12-18 09:24:21 scdaemon[6355] Historical Bytes: 00 31 C5 73 C0 01 40 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=C4 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 C4 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=7
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  01 20 20 20 03 00 03
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=217
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=74 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 74 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6A88  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=5E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 5E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=9
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] Version-2+ .....: yes
2020-12-18 09:24:21 scdaemon[6355] Extcap-v3 ......: no
2020-12-18 09:24:21 scdaemon[6355] Button .........: no
2020-12-18 09:24:21 scdaemon[6355] SM-Support .....: no
2020-12-18 09:24:21 scdaemon[6355] Get-Challenge ..: yes (2048 bytes max)
2020-12-18 09:24:21 scdaemon[6355] Key-Import .....: yes
2020-12-18 09:24:21 scdaemon[6355] Change-Force-PW1: yes
2020-12-18 09:24:21 scdaemon[6355] Private-DOs ....: yes
2020-12-18 09:24:21 scdaemon[6355] Algo-Attr-Change: yes
2020-12-18 09:24:21 scdaemon[6355] Symmetric Crypto: no
2020-12-18 09:24:21 scdaemon[6355] KDF-Support ....: no
2020-12-18 09:24:21 scdaemon[6355] Max-Cert3-Len ..: 2048
2020-12-18 09:24:21 scdaemon[6355] Cmd-Chaining ...: no
2020-12-18 09:24:21 scdaemon[6355] Ext-Lc-Le ......: yes
2020-12-18 09:24:21 scdaemon[6355] Status-Indicator: 05
2020-12-18 09:24:21 scdaemon[6355] GnuPG-No-Sync ..: no
2020-12-18 09:24:21 scdaemon[6355] GnuPG-Def-PW2 ..: no
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=217
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-sign ..: RSA, n=3072, e=32, fmt=std
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=217
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-encr ..: RSA, n=3072, e=32, fmt=std
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=217
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-auth ..: RSA, n=3072, e=32, fmt=std
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=5E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 5E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=9
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] DO 'Login Data': 61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=50 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 50 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=56
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  68 74 74 70 3A 2F 2F 66 69 6C 65 73 2E 69 6E 74 65 76 61 74 69 6F 6E 2E 64 65 2F 75 73 65 72 73 2F 61 68 65 69 6E 65 63 6B 65 2F 61 68 65 69 6E 65 63 6B 65 2E 61 73 63
2020-12-18 09:24:21 scdaemon[6355] DO 'URL': 'http://files.intevation.de/users/aheinecke/aheinecke.asc'
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=52 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 52 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=10
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  00 31 C5 73 C0 01 40 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Historical Bytes': 00 31 C5 73 C0 01 40 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=65 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 65 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=26
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  5B 0F 48 65 69 6E 65 63 6B 65 3C 3C 41 6E 64 72 65 5F 2D 02 64 65 5F 35 01 31
2020-12-18 09:24:21 scdaemon[6355] DO 'Cardholder Related Data': 5B 0F 48 65 69 6E 65 63 6B 65 3C 3C 41 6E 64 72 65 5F 2D 02 64 65 5F 35 01 31
2020-12-18 09:24:21 scdaemon[6355] DO 'Name': 'Heinecke<<Andre'
2020-12-18 09:24:21 scdaemon[6355] DO 'Language preferences': 'de'
2020-12-18 09:24:21 scdaemon[6355] DO 'Salutation': '1'
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=217
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] DO 'Application Related Data': 4F 10 D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 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 0C 00 00 20 00 C2 06 01 0C 00 00 20 00 C3 06 01 0C 00 00 20 00 C4 07 01 20 20 20 03 00 03 C5 3C 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A 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 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] DO 'AID': D2 76 00 01 24 01 02 01 00 05 00 00 2D 9A 00 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Extended Card Capabilities': 7C 00 08 00 08 00 08 00 08 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Signature': 01 0C 00 00 20 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Decryption': 01 0C 00 00 20 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Authentication': 01 0C 00 00 20 00
2020-12-18 09:24:21 scdaemon[6355] DO 'CHV Status Bytes': 01 20 20 20 03 00 03
2020-12-18 09:24:21 scdaemon[6355] DO 'Fingerprints': 94 A5 C9 A0 3C 2F E5 CA 3B 09 5D 8E 1F DF 72 3C F4 62 B6 B1 E1 89 55 A9 62 60 07 09 3B DC 2E D2 8C C9 99 BD AA 45 C7 1F 29 BB D1 1A 77 7B AE 2C 26 11 C2 91 63 04 A4 B5 39 CE 44 4A
2020-12-18 09:24:21 scdaemon[6355] DO 'CA Fingerprints': 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
2020-12-18 09:24:21 scdaemon[6355] DO 'Generation time': 56 66 AA 95 56 66 AA 95 56 66 AA 95
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=73 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 73 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6A88  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=7A lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 7A 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=5
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  93 03 00 06 27
2020-12-18 09:24:21 scdaemon[6355] DO 'Security Support Template': 93 03 00 06 27
2020-12-18 09:24:21 scdaemon[6355] DO 'Digital Signature Counter': 00 06 27
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=01 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 01 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 1': ''
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=02 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 02 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 2': ''
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=03 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 03 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6982  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 3' not available: Bad PIN
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=04 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 04 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6982  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 4' not available: Bad PIN
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=21 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 21 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Cardholder certificate': 
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=74 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 74 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6A88  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=D5 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 D5 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6A88  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=F9 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 F9 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6A88  datalen=0
2020-12-18 09:24:21 scdaemon[6355] reader slot 1: using ccid driver
2020-12-18 09:24:21 scdaemon[6355] slot 1: ATR=3B FD 13 00 00 81 31 FE 15 80 73 C0 21 C0 57 59 75 62 69 4B 65 79 40
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=A4 p1=00 p2=0C lc=2 le=-1 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 A4 00 0C 02 3F 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6D00  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=A4 p1=04 p2=00 lc=6 le=-1 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 A4 04 00 06 D2 76 00 01 24 01
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:     dump:  
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=4F lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 4F 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=16
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00
2020-12-18 09:24:21 scdaemon[6355] AID: D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=52 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 52 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=8
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  00 73 00 00 E0 05 90 00
2020-12-18 09:24:21 scdaemon[6355] Historical Bytes: 00 73 00 00 E0 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=C4 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 C4 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=7
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  01 7F 7F 7F 03 00 03
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=74 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 74 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=3
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  81 01 20
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=5E lc=-1 le=65534 em=255
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 5E 00 FF FE
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=9
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] Version-2+ .....: yes
2020-12-18 09:24:21 scdaemon[6355] Extcap-v3 ......: yes
2020-12-18 09:24:21 scdaemon[6355] Button .........: yes
2020-12-18 09:24:21 scdaemon[6355] SM-Support .....: no
2020-12-18 09:24:21 scdaemon[6355] Get-Challenge ..: yes (3070 bytes max)
2020-12-18 09:24:21 scdaemon[6355] Key-Import .....: yes
2020-12-18 09:24:21 scdaemon[6355] Change-Force-PW1: yes
2020-12-18 09:24:21 scdaemon[6355] Private-DOs ....: yes
2020-12-18 09:24:21 scdaemon[6355] Algo-Attr-Change: yes
2020-12-18 09:24:21 scdaemon[6355] Symmetric Crypto: no
2020-12-18 09:24:21 scdaemon[6355] KDF-Support ....: yes
2020-12-18 09:24:21 scdaemon[6355] Max-Cert3-Len ..: 2048
2020-12-18 09:24:21 scdaemon[6355] PIN-Block-2 ....: no
2020-12-18 09:24:21 scdaemon[6355] MSE-Support ....: no
2020-12-18 09:24:21 scdaemon[6355] Max-Special-DOs : 255
2020-12-18 09:24:21 scdaemon[6355] Cmd-Chaining ...: yes
2020-12-18 09:24:21 scdaemon[6355] Ext-Lc-Le ......: yes
2020-12-18 09:24:21 scdaemon[6355] Status-Indicator: 05
2020-12-18 09:24:21 scdaemon[6355] GnuPG-No-Sync ..: no
2020-12-18 09:24:21 scdaemon[6355] GnuPG-Def-PW2 ..: no
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-sign ..: ECC, curve=brainpoolP384r1
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-encr ..: ECC, curve=brainpoolP384r1
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] Key-Attr-auth ..: ECC, curve=Ed25519 (eddsa)
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=5E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 5E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=9
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] DO 'Login Data': 61 68 65 69 6E 65 63 6B 65
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=50 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 50 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'URL': ''
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=5F p2=52 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 5F 52 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=8
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  00 73 00 00 E0 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Historical Bytes': 00 73 00 00 E0 05 90 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=65 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 65 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=31
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  65 1D 5B 14 30 31 32 3C 3C 59 75 62 69 6B 65 79 3C 67 31 30 63 6F 64 65 5F 2D 00 5F 35 01 39
2020-12-18 09:24:21 scdaemon[6355] DO 'Cardholder Related Data': 65 1D 5B 14 30 31 32 3C 3C 59 75 62 69 6B 65 79 3C 67 31 30 63 6F 64 65 5F 2D 00 5F 35 01 39
2020-12-18 09:24:21 scdaemon[6355] DO 'Name': '012<<Yubikey<g10code'
2020-12-18 09:24:21 scdaemon[6355] DO 'Language preferences': ''
2020-12-18 09:24:21 scdaemon[6355] DO 'Salutation': '9'
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] DO 'Application Related Data': 6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] DO 'AID': D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Extended Card Capabilities': 7D 00 0B FE 08 00 00 FF 00 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Signature': 13 2B 24 03 03 02 08 01 01 0B 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Decryption': 12 2B 24 03 03 02 08 01 01 0B 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Algorithm Attributes Authentication': 16 2B 06 01 04 01 DA 47 0F 01 00
2020-12-18 09:24:21 scdaemon[6355] DO 'CHV Status Bytes': 01 7F 7F 7F 03 00 03
2020-12-18 09:24:21 scdaemon[6355] DO 'Fingerprints': 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2020-12-18 09:24:21 scdaemon[6355] DO 'CA Fingerprints': 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2020-12-18 09:24:21 scdaemon[6355] DO 'Generation time': 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=73 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 73 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6B00  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'Discretionary Data Objects' not available: Invalid value
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=7A lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 7A 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=7
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  7A 05 93 03 00 00 E5
2020-12-18 09:24:21 scdaemon[6355] DO 'Security Support Template': 7A 05 93 03 00 00 E5
2020-12-18 09:24:21 scdaemon[6355] DO 'Digital Signature Counter': 00 00 E5
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=01 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 01 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 1': ''
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=02 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 02 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 2': ''
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=03 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 03 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6982  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 3' not available: Bad PIN
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=01 p2=04 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 01 04 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6982  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'Private DO 4' not available: Bad PIN
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=21 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 21 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  
2020-12-18 09:24:21 scdaemon[6355] DO 'Cardholder certificate': 
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=7F p2=74 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 7F 74 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=3
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  81 01 20
2020-12-18 09:24:21 scdaemon[6355] DO 'General Feature Management': 81 01 20
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=D5 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 D5 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=6B00  datalen=0
2020-12-18 09:24:21 scdaemon[6355] DO 'AES key data' not available: Invalid value
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=F9 lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 F9 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=9000  datalen=3
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  81 01 00
2020-12-18 09:24:21 scdaemon[6355] DO 'KDF data object': 81 01 00
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> S SERIALNO D2760001240103040006120808550000
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 <- SERIALNO
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> S SERIALNO D2760001240103040006120808550000
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 <- GETATTR KEY-FPR
2020-12-18 09:24:21 scdaemon[6355] DBG: send apdu: c=00 i=CA p1=00 p2=6E lc=-1 le=256 em=0
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 CA 00 6E 00
2020-12-18 09:24:21 scdaemon[6355] DBG:  response: sw=614A  datalen=256
2020-12-18 09:24:21 scdaemon[6355] DBG: apdu_send_simple(1): 74 more bytes available
2020-12-18 09:24:21 scdaemon[6355] DBG:  raw apdu: 00 C0 00 00 4A
2020-12-18 09:24:21 scdaemon[6355] DBG:      more: sw=9000  datalen=74
2020-12-18 09:24:21 scdaemon[6355] DBG:       dump:  6E 82 01 46 4F 10 D2 76 00 01 24 01 03 04 00 06 12 08 08 55 00 00 5F 52 08 00 73 00 00 E0 05 90 00 7F 74 03 81 01 20 73 82 01 1F C0 0A 7D 00 0B FE 08 00 00 FF 00 00 C1 0B 13 2B 24 03 03 02 08 01 01 0B 00 C2 0B 12 2B 24 03 03 02 08 01 01 0B 00 C3 0B 16 2B 06 01 04 01 DA 47 0F 01 00 DA 06 01 08 00 00 11 00 C4 07 01 7F 7F 7F 03 00 03 C5 50 51 5B CB 7D 63 59 87 AB A4 46 EB 16 EF 20 56 2A BF 32 90 E6 6A 48 00 CD 22 56 F5 01 D8 7E 7D D7 5C B0 9E 43 DC 49 64 9F 17 C9 2F C4 07 CC 4F FD 81 E7 FC 92 43 12 12 7C F5 96 D2 5D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 C6 50 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 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CD 10 5F 2C 15 0B 5F 2C 1E 9A 5F 2C 15 39 00 00 00 00 DE 08 01 01 02 01 03 01 81 02 7F 66 08 02 02 0B FE 02 02 0B FE D6 02 00 20 D7 02 00 20 D8 02 00 20 D9 02 00 20
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> S KEY-FPR 1 515BCB7D635987ABA446EB16EF20562ABF3290E6
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> S KEY-FPR 2 6A4800CD2256F501D87E7DD75CB09E43DC49649F
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> S KEY-FPR 3 17C92FC407CC4FFD81E7FC924312127CF596D25D
2020-12-18 09:24:21 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 <- SERIALNO --demand=D276000124010201000500002D9A0000
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 -> S SERIALNO D276000124010201000500002D9A0000
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 <- SETDATA 3041300D060960864801650304020205000430BD302ED1AC59B8D50581D7E3D154840121D551BD4F2D36EE07FB7C40320B57B4D3535AC619EC1413E38CAA2B8BF38373
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 <- PKSIGN --hash=sha384 21DE7E1D287EC6956FC91809F8AA2A74BFC08EC1
2020-12-18 09:24:22 scdaemon[6355] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=399 em=1
2020-12-18 09:24:22 scdaemon[6355] DBG:  raw apdu: 00 47 81 00 00 00 02 B6 00 01 8F
2020-12-18 09:24:22 scdaemon[6355] DBG:  response: sw=9000  datalen=399
2020-12-18 09:24:22 scdaemon[6355] DBG:       dump:  7F 49 82 01 8A 81 82 01 80 86 23 E3 42 6B 27 E1 7A FC A3 3B 69 EC 66 B3 BB 23 A4 4D 2A C4 25 C5 6E CE 50 BE 78 7C FB AE FF 75 4E 01 32 31 E2 AE 09 02 31 72 B0 34 B5 66 1A BD 9B CD DD 5C DB 54 96 95 47 AC 67 CF 20 6D 35 A7 32 EE 7B 9C 9E FF 83 5C FF 5F 1C 82 13 39 F1 6A 7B A8 3B CE 5B D9 05 E8 55 5A B4 2A 0D 4D 91 F6 50 29 D5 E3 6B 70 F2 9C 5A 4A 64 0B 70 5F 64 12 F1 1B 58 6F 06 D0 BE BB CA 9C 54 8F F6 73 39 81 DC 72 78 75 94 B4 30 EA 68 17 93 85 EE FD 41 82 36 19 EE 32 B8 15 41 43 4B 6A 66 2D 80 40 F4 87 0F B0 8E 1D 6A 8E 2F 86 7B 28 BD BC 5B 57 5B 94 FC C2 73 FD E7 CE 3A 7B 81 42 6E 13 32 93 FE 08 5F 1D 9D 22 7D 1E C6 DE 1C 80 B7 9D DE 38 51 6B EF 28 26 EF 43 80 F2 8E 70 AE 78 FF BB 92 BE 35 3B CA 93 59 33 CE E2 D4 D5 52 C3 96 D5 D1 4D D9 39 9B 15 09 BC 98 A5 B7 33 77 81 BC 24 B4 53 19 57 4B A2 11 9D F9 2F 3C 32 3F C8 0C 07 B5 8D DE 87 11 E6 B9 BA 06 EB 8B 17 BD 25 BD A9 F2 54 55 04 15 A4 AE E1 A9 E8 15 2B 97 68 50 A0 1D 22 4F A3 1A BE BD 25 10 BC B0 01 E2 3F 55 A6 28 AA 1D 5E 99 12 8E D0 A4 8F 1C 18 A3 7E 30 C0 00 1A 4C 90 EC 24 77 95 34 D9 4F C3 75 FF 82 1E B0 AF 5E 46 3B AA 8B 13 91 00 92 98 D1 77 D7 C4 93 17 A6 67 C0 1E C5 1B AA B5 6E 9A 2A 07 11 A7 AC 19 82 04 00 01 00 01
2020-12-18 09:24:22 scdaemon[6355] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=399 em=1
2020-12-18 09:24:22 scdaemon[6355] DBG:  raw apdu: 00 47 81 00 00 00 02 B8 00 01 8F
2020-12-18 09:24:22 scdaemon[6355] DBG:  response: sw=9000  datalen=399
2020-12-18 09:24:22 scdaemon[6355] DBG:       dump:  7F 49 82 01 8A 81 82 01 80 B3 56 7B C9 C0 14 52 B1 51 77 7A 73 0C 8A 85 AC 92 99 55 44 E8 46 A5 77 4D A3 77 0A 6A C3 9D 4F 34 B5 1D 8C AC 48 78 49 67 88 58 24 81 74 D8 F1 C3 EA 5E 5C AF DA 92 57 C1 24 02 56 D2 98 FC 76 E7 F9 37 5C 76 10 49 A3 45 28 3E 6A 87 6C 0D D8 58 62 BA FB 83 F3 DB 40 D0 8E CA 9D 02 15 01 D3 36 63 70 67 AF A0 45 72 07 E1 64 D0 C8 52 03 F7 0E D2 23 70 B7 C1 43 07 0C 15 5C 86 8E 89 46 6B 84 4B 3C 55 81 EA 1A 5D 80 75 A4 F9 24 7C 9A 53 5A 00 AB A4 7C F4 23 E7 31 E4 31 1A F8 A8 0B 60 EE 45 4D 85 D7 DB CC 53 E8 F1 E3 3C DF 97 C5 51 6A 17 91 9C 8C BE 10 86 F4 15 B7 BA DC FC 96 EE E3 30 6B 5A 54 A8 C7 CD FD AA EF 99 00 2C D9 E0 D2 68 0B 20 81 E1 BD 6E 09 6F BA C8 0E 25 BD 1E 20 11 9C B3 61 10 BC FF 37 C0 97 A1 06 BE CF 7C 36 A4 03 BB C4 90 B6 A4 91 8E 4B B4 D1 AE F3 3C E3 7D CF ED F6 53 AC 2D C3 29 6B C0 74 8D 51 BE 61 42 3B 31 81 73 07 50 19 63 1E EF 42 B6 CF BA 0E 95 CF 13 DB DE 5A B3 B1 CA B2 08 4C 5E 0F AA 72 F3 0A C2 8A 91 51 6A 65 16 CA 96 70 B3 D5 B7 F7 1F 7B C4 80 A9 6C 68 5B 17 DA 2B 18 B1 1C 4F EA E9 7A CC 9D 93 DE 1B E5 9A 37 B4 CF 6A 63 13 83 72 40 9C F1 BB 39 87 EA E0 6A 24 95 59 DF A3 F4 61 90 A7 99 B5 18 6C 68 68 FC 00 2B 4F 92 99 82 04 00 01 00 01
2020-12-18 09:24:22 scdaemon[6355] DBG: send apdu: c=00 i=47 p1=81 p2=00 lc=2 le=399 em=1
2020-12-18 09:24:22 scdaemon[6355] DBG:  raw apdu: 00 47 81 00 00 00 02 A4 00 01 8F
2020-12-18 09:24:22 scdaemon[6355] DBG:  response: sw=9000  datalen=399
2020-12-18 09:24:22 scdaemon[6355] DBG:       dump:  7F 49 82 01 8A 81 82 01 80 C3 14 FC 40 B0 29 9C 76 AB BD 61 87 BD FB 68 6C D9 12 04 5B 12 8A FE 1E D3 E0 80 FB 5B E0 A0 A3 6F 38 6B F6 AA 2B EE C6 C8 E3 F1 86 5E 0F 4E 57 17 18 BD F5 85 7D C6 25 CB 32 5D 17 98 2E 50 B1 35 D4 6A 77 A4 3B AA 66 07 AF C6 43 0C 79 28 DD 73 E2 83 92 BB A2 6B 01 E0 23 72 EF C0 94 C3 30 0C D6 E1 1B EC 54 20 C4 14 BB 81 4E D9 36 0F A2 B7 C7 E1 FC 65 3B FC 5F 1D CF 5B 70 14 CD 67 A3 7C 1B 6E CE A9 6F F4 13 60 D7 10 BC CC 0A 62 43 85 BC 93 B5 10 37 32 47 19 6A 8A FC 9D 3A 0C 6F 8C 04 80 43 53 ED DE 2C 4A B9 AC A1 13 81 7D BA EB A9 30 3D 49 B2 36 64 CC 7B 66 04 AC 38 07 C7 CF B7 3D 4B 63 83 20 F5 1B B4 1D E8 61 94 EB 74 33 14 BE 23 ED 38 E5 0A EA 88 74 C5 C0 40 C2 80 8F 87 87 8C DD 91 04 16 A3 D1 FC 4C 2B B4 AB 82 15 91 5E 1D 60 86 BC 52 8E 69 F2 60 E1 78 60 55 8B F5 A6 1A FA B9 CF 1E A9 B7 72 46 57 46 D6 FA A5 73 68 F1 A2 B9 FB AF 86 7A CF 28 30 73 35 C3 17 75 E9 4A D6 AB 8F 54 D1 AC 7A 0F B6 9B 7A D6 12 33 B7 F4 41 D2 70 F6 C2 9F D1 29 11 33 A6 59 50 83 CD 13 F4 5C 9D 78 13 A1 43 0A 2C 15 79 D5 83 EF E1 3A EE 17 C2 40 21 BA 08 3A FA 82 07 51 55 BC 1C 6E E8 7D 99 2F 5A 6F 67 B9 04 37 98 27 94 05 92 F5 78 4A 83 CC B8 5C A1 FC C8 63 4A D9 82 04 00 01 00 01
2020-12-18 09:24:22 scdaemon[6355] operation sign result: Invalid ID
2020-12-18 09:24:22 scdaemon[6355] app_sign failed: Invalid ID
2020-12-18 09:24:22 scdaemon[6355] DBG: chan_7 -> ERR 100663414 Invalid ID <SCD>
2020-12-18 09:24:47 scdaemon[6355] DBG: chan_7 <- RESTART
2020-12-18 09:24:47 scdaemon[6355] DBG: chan_7 -> OK
2020-12-18 09:24:56 scdaemon[6355] DBG: chan_7 <- GETINFO version
2020-12-18 09:24:56 scdaemon[6355] DBG: chan_7 -> D 2.2.26-beta3
2020-12-18 09:24:56 scdaemon[6355] DBG: chan_7 -> OK

Related Objects

I think that ... For some reason, your private key file under .gnupg/private-keys-v1.d has wrong serial number.

Please locate the keygrip of the brainpoolP384r1 key by --with-keygrip option, and do:
(1) Rename the file to .gnupg/private-keys-v1.d/<THEKEYGRIP>.key.bak
(2) With the token which has the brainpoolP384r1, do gpg --card-status, so that it will create the file correctly.

After that, you will be able to use the brainpoolP384r1 key again.

aheinecke closed this task as Resolved.Dec 21 2020, 11:11 AM

Yes, that worked. Thanks for the tip and sorry for the noise ;-)