Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Jan 01, 2015 4:17 pm 
Offline

Joined: Tue Dec 02, 2014 8:36 pm
Posts: 3
Since I had locked myself out because of forgetting the ADMIN pin and trying too many times, I considered resetting the OpenGPG applet appropriately as described in:
https://developers.yubico.com/ykneo-ope ... pplet.html

After executing the statements I think I am left with an inaccessible opengpg smartcard config. Under Ubunut 14.04 with a plugged in yubikey (usb functionality works for OTPs) and the OpenGPG applet activeatd, I was able to retrieve the following:

Code:
$ opensc-tool -i  -l   
opensc 0.13.0 [gcc  4.8.2]
Enabled features: zlib readline openssl pcsc(libpcsclite.so.1)
# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             Yubico Yubikey NEO OTP+CCID 00 00
$ gpg --card-status
gpg: detected reader `Yubico Yubikey NEO OTP+CCID 00 00'
Please insert the card and hit return or enter 'c' to cancel: c
gpg: selecting openpgp failed: general error
gpg: OpenPGP card not available: general error

$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 100663406 Card removed <SCD>

N.B.: In the Yubikey NEO Manager (1.1.0) the only applet that doesn't show it's version under 'Status' happens to be the OpenGPG applet. I just noticed this, maybe that is no hint at that level things are broken.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Fri Jan 02, 2015 12:02 pm 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
firmware version of your neo?


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 02, 2015 5:14 pm 
Offline

Joined: Tue Dec 02, 2014 8:36 pm
Posts: 3
Firmware version of the yubikey: 3.3.0


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 11:40 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
If
gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
fails,

i believe you may have one of the 3.3.0 with a bugged version of the applet where the reset command it is not working properly.

Please contact yubi.co/support and ask for a warranty replacement.

Best Regards,
Tom.


Top
 Profile  
Reply with quote  
PostPosted: Mon Jan 05, 2015 4:27 pm 
Offline

Joined: Tue Dec 02, 2014 8:36 pm
Posts: 3
It says
Code:
$ gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 100663427 Aan voorwaarden voor gebruik wordt niet voldaan <SCD>

The error code translates from dutch english via:
Code:
$ /usr/bin/gpg-error 100663427
100663427 = (6, 131) = (GPG_ERR_SOURCE_SCD, GPG_ERR_USE_CONDITIONS) = (SCD, Conditions of use not satisfied)

I have filed a replacement request as you suggested. I'll close this post as soon as I get the request granted.

Thanks and for following this up!


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

All times are UTC + 1 hour


Who is online

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