Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 6:47 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Apr 26, 2016 8:54 pm 
Offline

Joined: Tue Apr 26, 2016 8:19 pm
Posts: 1
The PIN for my Yubikey 4 (nano) is blocked (too many wrong entries). The PUK is also blocked (by default).

To reset the PIN I used the instructions provided here (https://developers.yubico.com/ykneo-openpgp/ResetApplet.html). However it does not seem to work.

First I check that the pin is blocked (69 83 confirms that the PIN is blocked, according to https://lists.gnupg.org/pipermail/gnupg-users/2009-September/037414.html):
Code:
gpg-connect-agent --hex
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
D[0000]  69 83                                              i.             
OK


I then proceed to "terminate" and "reactivate" the card as instructed in either links above:
Code:
> scd apdu 00 e6 00 00
D[0000]  69 82                                              i.             
OK
> scd apdu 00 44 00 00
D[0000]  90 00                                              ..             
OK


However my PIN remains blocked:
Code:
gpg-connect-agent --hex
> scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
D[0000]  69 83                                              i.             
OK


I also tried yubico-piv-tool, but no luck:

Code:
yubico-piv-tool -a reset
Reset failed, are pincodes blocked?


I must be missing something obvious. Any ideas?


Last edited by jerlev on Wed Apr 27, 2016 4:42 am, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Apr 27, 2016 1:31 am 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
viewtopic.php?f=35&t=2193#p8245

Also, please note that the PIV and OpenPGP applets are completely autonomous and have their own PINs.

OpenPGP:
default PIN - 123456
default Admin PIN - 12345678

PIV:
default PIN - 123456
default PUK - 12345678

The PIN and Admin PIN / PUK for both the OpenPGP and PIV applets always begin with a retry counter of 3 each, so if you haven't locked out both the PIN and Admin PIN yourself, you need to do so before attempting to reset the applet.


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 5 guests


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