Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Feb 27, 2015 8:33 am 
Offline

Joined: Fri Feb 27, 2015 8:26 am
Posts: 2
Hello there,

I have a Yubikey NEO bought in October 2014 (with U2F) and I've locked myself out of my smartcard.

Code:
$ gpg --card-status
Application ID ...: D2760001240102000006030128970000
Version ..........: 2.0
Manufacturer .....: unknown
Serial number ....: 03012897
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: forced
Key attributes ...: 2048R 2048R 2048R
Max. PIN lengths .: 127 127 127
PIN retry counter : 0 3 0
Signature counter : 0
Signature key ....: [none]
Encryption key....: [none]
Authentication key: [none]
General key info..: [none]


I'm unable to reset the smartcard:
Code:
$ gpshell gpinstall.txt
mode_211
enable_trace
establish_context
card_connect
* reader name Yubico Yubikey NEO OTP+U2F+CCID 00 00
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6F658408A000000003000000A5599F6501FF9F6E06479112103800734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000
Command --> 8050000008C488A323DA720A7F00
Wrapped command --> 8050000008C488A323DA720A7F00
Response <-- 0000331700773397091202020001AD2C6EC86A9C5A1F7A8AEDAA95B09000
mutual_authentication() returns 0x80302000 (The verification of the card cryptogram failed.)


The keys appears to have changed is there something I can do to sort this out ?


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Fri Feb 27, 2015 11:07 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
Show me this please:

gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye


Top
 Profile  
Reply with quote  
PostPosted: Sun Mar 01, 2015 6:37 pm 
Offline

Joined: Fri Feb 27, 2015 8:26 am
Posts: 2
Code:
D[0000]  01 00 08 90 00                                     .....           
OK


Top
 Profile  
Reply with quote  
PostPosted: Mon Mar 02, 2015 4:30 pm 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
There is no smartcard to reset. You want to reset the applet. Read the documentation

https://developers.yubico.com/ykneo-ope ... pplet.html


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 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