Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 11:17 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Oct 22, 2016 6:11 pm 
Offline

Joined: Thu Oct 20, 2016 10:18 am
Posts: 5
This is a new Nano with latest f/w.
I locked myself out from Admin PIN so I reset the card running one of those reset scripts (http://forum.yubico.com/viewtopic.php?f=35&t=2193#p8245) and then tried to change User PIN first.
In order to avoid setting a PIN that I won't remember tomorrow I chose the same PIN as the default (123456), but I get this error.

Code:
C:\Program Files (x86)\GNU\GnuPG>gpg2.exe --card-edit

Application ID ...: ===============================
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 04974752
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 3
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]

gpg/card> admin
Admin commands are allowed

gpg/card> passwd
gpg: OpenPGP card no. ======================= detected

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit

Your selection? 1
Error changing the PIN: Not enough space

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit

Your selection? q

gpg/card> quit



I tried to run the same admin > passwd process for Admin PIN - same issue, not enough space.

I did manage to change Reset PIN (by mistake, I thought I pressed 3, but I pressed 4) using the default Admin PIN, which seems to indicate the PINs were reset to default values.

Then I reinserted the card and tried again. Now GPG doesn't even wait until I try to change PIN - as soon as I pick 1 or 3, it tells me there's no space. What space? On the card? On my HDD?

Code:
1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit

Your selection? 3
Error changing the PIN: Not enough space


Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Tue Nov 01, 2016 8:43 am 
Offline

Joined: Thu Oct 20, 2016 10:18 am
Posts: 5
To update this: I don't know what was causing this issue, but it might have been GPG for Win *or* a poor contact in the USB port.

Later I rebooted the system and tried with Yubikey plugged into another port, and it worked.

I haven't performed further troubleshooting.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group