OpenPGP card: ERR 100663351 Invalid value <SCD>

mofo syne mofosyne at gmail.com
Fri May 29 13:44:09 CEST 2015


If you want to reset your openpgp card (v2.0), this might help

http://briankhuu.com/blog/self/2015/02/28/openpgp-card-v2.0-factory-reset.html



On Fri, May 29, 2015 at 6:24 AM, Johann Klähn <kljohann at gmail.com> wrote:

> 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
> `----
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20150529/02ebbe81/attachment.html>


More information about the Gnupg-users mailing list