SmartCard v2.1 : factory reset fails

NIIBE Yutaka gniibe at
Tue Feb 14 03:33:10 CET 2017


Since I got 2.1 card last week, I will test with it.  For time being,
I say something what I know of.

Fib Moro <fibmoro at> wrote:
> I can then successfully change the PIN as well as AdminPIN.
> However, when I try to write a key to the card (gpg --edit-key xxx; keytocard) I
> get a message "Error setting the Reset Code: Bad PIN".

Umm... This error message can be only happened at setting the Reset
Code.  Strange.

> The same issue occurs when try set a Reset Code on the card (gpg --card-edit;
> admin; passwd => set the Reset Code).

The length of the Reset Code should be more than or equals to 8.  If it
is shorter, it fails.  What is your case?

More information about the Gnupg-users mailing list