Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Oct 16, 2015 5:27 am 
Offline

Joined: Fri Oct 16, 2015 5:20 am
Posts: 3
I am trying to reset the OpenPGP applet on my YubiKey Neo, using the instructions here https://developers.yubico.com/ykneo-ope ... pplet.html, because I have ran out of pin retries and can not longer use the pgp features of it. But, whenever I run this line of code:
gpg-connect-agent --hex
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40

it gives me this error:
ERR 65547 Bad passphrase <Unspecified source>

Am I supposed to supply a passphrase to that command as well. I can not find any documentation regarding it.
Thanks.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Tue Oct 27, 2015 9:34 am 
Offline
Site Admin
Site Admin

Joined: Mon Dec 08, 2014 2:52 pm
Posts: 314
--card-status

did you locked the admin pin as well?


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 30, 2015 3:22 pm 
Offline

Joined: Fri Oct 16, 2015 5:20 am
Posts: 3
I am not sure how to tell if I have locked the admin pin as well or not. But, it kind of appears so from the card-status below.

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


Top
 Profile  
Reply with quote  
PostPosted: Mon Nov 02, 2015 2:20 pm 
Offline
Yubico Moderator
Yubico Moderator

Joined: Fri Jan 02, 2015 12:22 pm
Posts: 16
The instruction that gives you an error is used to send a wrong PIN in order to lock it, but yours is already locked.

What you want are the two other instructions "scd apdu 00 e6 00 00" and "scd apdu 00 44 00 00".

A.


Top
 Profile  
Reply with quote  
PostPosted: Wed Nov 04, 2015 2:51 am 
Offline

Joined: Fri Oct 16, 2015 5:20 am
Posts: 3
That worked.
Thanks alot for the help. I was assuming that I had to follow all of the instructions on the page. But, once you said that, it made sense to just do that part.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 08, 2016 12:39 am 
Offline

Joined: Tue Dec 15, 2015 11:37 pm
Posts: 1
Okay... So I was receiving the same error as the previous poster:

ERR 65547 Bad passphrase <Unspecified source>

I tried the recommended course of action:

> scd apdu 00 e6 00 00
ERR 65547 Bad passphrase <Unspecified source>
> scd apdu 00 44 00 00
ERR 65547 Bad passphrase <Unspecified source>

So what is to be done when continuing to get an ERR 65547 when attempting to reset the GPG Applet?

Thanks for any help! (oh, and there's currently an open ticket with Yubico)

@SciaticNerd


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

All times are UTC + 1 hour


Who is online

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