OpenPGP card: ERR 100663351 Invalid value <SCD>

Johann Klähn kljohann at gmail.com
Thu May 28 22:24:41 CEST 2015


Hello,

I just tried to set up an OpenPGP that I had lying around for a
while. However, none of the admin commands seem to work (`name',
`passwd', `lang', `sex', `url'). For example when using `gpg2
--debug-level=guru --card-edit': (gpg (GnuPG) 2.1.4, libgcrypt 1.6.3)

,----
| gpg/card> admin
| Admin commands are allowed
|
| gpg/card> name
| Cardholder's surname: K
| Cardholder's given name: J
| gpg: DBG: chan_4 -> SCD SETATTR DISP-NAME K<<J
| gpg: DBG: chan_4 <- INQUIRE PINENTRY_LAUNCHED 11360
| gpg: DBG: chan_4 -> END
| gpg: DBG: chan_4 <- ERR 100663351 Invalid value <SCD>
| gpg: error setting Name: Invalid value
`----

Do you have any pointers as to what could be wrong?
I get the same results after perfoming a `factory-reset' (which looks
like it succeeded, see below).

Please CC me, as I'm not subscribed to the list.

Thanks, Johann



,----
| Really do a factory reset? (enter "yes") yes
| gpg: DBG: chan_4 -> SCD RESET
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD SERIALNO undefined
| gpg: DBG: chan_4 <- S SERIALNO FF7F00 0
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD APDU 00A4040006D27600012401
| gpg: DBG: chan_4 <- [ 44 20 90 00 ]
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD APDU 00200081084040404040404040
| gpg: DBG: chan_4 <- D i
| gpg: DBG: chan_4 <- OK
| [...]
| gpg: DBG: chan_4 -> SCD APDU 00200083084040404040404040
| gpg: DBG: chan_4 <- D i
| gpg: DBG: chan_4 <- OK
| [...]
| gpg: DBG: chan_4 -> SCD APDU 00e60000
| gpg: DBG: chan_4 <- [ 44 20 90 00 ]
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD RESET
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD SERIALNO undefined
| gpg: DBG: chan_4 <- S SERIALNO FF7F00 0
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD APDU 00A4040006D27600012401
| gpg: DBG: chan_4 <- D b
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD APDU 00440000
| gpg: DBG: chan_4 <- [ 44 20 90 00 ]
| gpg: DBG: chan_4 <- OK
| gpg: DBG: chan_4 -> SCD RESET
| gpg: DBG: chan_4 <- OK
`----



More information about the Gnupg-users mailing list