Yubico Forum
https://forum.yubico.com/

Trying to reset PGP Applet
https://forum.yubico.com/viewtopic.php?f=26&t=1777
Page 1 of 1

Author:  kingfetty [ Sun Mar 08, 2015 5:40 am ]
Post subject:  Trying to reset PGP Applet

Trying to reset the PGP applet on my NEO. I tried changing the admin pin and it throws a generic card error.

Code:
Application ID ...: D2760001240102000006030157430000
Version ..........: 2.0
Manufacturer .....: Yubico
Serial number ....: 03015743
Name of cardholder: ******
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 .: 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]


Code:
C:\yubico\bin>gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 65547 Bad passphrase <Unspecified source>


Code:
C:\yubico\GPShell-1.4.4>GPShell.exe gpinstall.txt
mode_211
enable_trace
establish_context
card_connect
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6F658408A000000003000000A5599F6501FF9F6E06479112103800734A06072A864
886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B0
40255650B06092B8510864864020103660C060A2B060104012A026E01029000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4
f -enc_key 404142434445464748494a4b4c4d4e4f
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012
A026E01029000
Command --> 8050000008E2F299FB6934F1D500
Wrapped command --> 8050000008E2F299FB6934F1D500
Response <-- 0000331701302697091202020001B1026C8EBC79E64F25C98AFF16139000
mutual_authentication() returns 0x80302000 (The verification of the card cryptog
ram failed.)

Author:  mkosterlund [ Fri Mar 13, 2015 9:45 pm ]
Post subject:  Re: Trying to reset PGP Applet

I have a similar problem,

Serial number ....: 03020317

using gpg2 --card-edit -> passwd -> 4 (reset)
I got card status:
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]

However I can't get version of - I just get:

gpg-connect-agent (GnuPG) 2.0.26 (Gpg4win 2.2.3)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye
ERR 65547 Bad passphrase <Unspecified source>

Please advice

Author:  CodieRae [ Wed Aug 19, 2015 8:29 am ]
Post subject:  Re: Trying to reset PGP Applet

Same problem here
Fixed
===
reinstall gpg4win, rebooted, was able to reset key, power cycled the key, rebooted and all was OK
guessing some of it is due to win10 being glitchy

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/