I try to change the OpenPGP smartcard PINs after creation of the keypairs
Code:
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. Alle Rechte vorbehalten.
C:\Windows\system32>gpg --card-edit
<snip>
PIN retry counter : 3 3 3
Signature counter : 5
<snip>
gpg/card> admin
Admin-Befehle sind erlaubt
gpg/card> passwd
gpg: OpenPGP Karte Nr. <snip> erkannt
1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit
Ihre Auswahl? 1
Error changing the PIN: Nutzungsvorraussetzungen nicht erf³llt
1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit
Ihre Auswahl? 3
Error changing the PIN: Nutzungsvorraussetzungen nicht erf³llt
1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit
Ihre Auswahl? 2
Error unblocking the PIN: Ung³ltiger Wert
1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit
Ihre Auswahl?
key info is correct, fingerprints are shown right...
Trying to change the PIN and the admin PIN from default the gpg program says something like "usage prerequirities not present" trying to unblock the PIN it says "invalid value"...
so how do I change the PINs after initial creation of the keypair to not use the default PINs? What do I do wrong in the commands pasted here?
the HowTo
https://www.yubico.com/2012/12/yubikey-neo-openpgp/ says --change-pin - so should I use "gpg --card-edit --change-pin" ?,
the card-edit dev document examples
https://developers.yubico.com/PGP/Card_edit.html should show me the right way to do it - that's the way I tried above...