Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Sep 30, 2014 2:22 pm 
Offline

Joined: Tue Sep 30, 2014 2:17 pm
Posts: 2
gpg/card> generate

Please note that the factory settings of the PINs are
PIN = `123456' Admin PIN = `12345678'
You should change them using the command --change-pin

scdaemon[2723]: card is permanently locked!
gpg: error clearing forced signature PIN flag: Bad PIN

Can it be unlocked? Anyhow?


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Wed Oct 01, 2014 8:47 am 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
What firmware is your Yubikey NEO?

_________________
-Tom


Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 01, 2014 9:09 am 
Offline

Joined: Tue Sep 30, 2014 2:17 pm
Posts: 2
@Tom, it's version 3.1.2

@Anybody else, including Tom. :)

Follow these steps at your own risk!

Please NOTE:
If you follow this procedure you will lose all existing keys!

Meanwhile I managed to upload a new version of the openPGP applet to my NEO and that solved my problem. Tools you would need to do that:

- GPshell from GlobalPlatform (http://sourceforge.net/projects/globalplatform/files/GPShell/)
- Yubikey NEO openPGP applet (https://developers.yubico.com/ykneo-openpgp/ | Release: https://developers.yubico.com/ykneo-openpgp/releases.html)
- Yubikey NEO openPGP applet gpinstall.txt for uploading via GPShell (Avaible from Github: https://github.com/Yubico/ykneo-openpgp)

Don't forget to change the path to point it to your "openpgpcard.cap" file!

Code:
install -file ./applet/bin/openpgpcard/javacard/openpgpcard.cap -instParam 00 -priv 00


After successful upload you will have an empty openPGP card ready to use.


Last edited by dodver on Wed Oct 01, 2014 10:06 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Oct 01, 2014 9:51 am 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
Well Done

Please NOTE:

If you follow this procedure you will lose all existing keys!

_________________
-Tom


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