Length of User PIN

Hello!
what is the maximum length of User PIN can i set in nitrokey 3a NFC device.?

Set PINs - Nitrokey Documentation .

OpenPGP Card

The PINs on the OpenPGP Card can be set with GnuPG. The OpenPGP Card has the User PIN, Admin PIN, and an optional Reset Code.

The User PIN must have a minimal length of 6 characters and maximal length of 127 characters. It can contain alphanumeric characters, including special characters such as punctations.
but it is showing an error when try to set length more than 88 charcters.

1 Like

Take a look:

Change User and Admin PIN

Same documentation, it seems to be a question of implementation.

Would you please like to guide me which nitrokey APP works fine for Nitrokey 3A device . as i have installed nitrokey app that is showing nothing for my particular device.

Take this:

Nitrokey App 2

It is all in the docu you cited.

You get the most out of your key using nitropy.

1 Like

i installed this app as well on windows 10 pro.its showing just these options,no menu to change userpin

As you read in the docu this app is for fido2 part of nk3.

Nitrokey App 2 The Nitrokey App 2 is a graphical application designed to manage Nitrokey 3 devices. It provides a user-friendly interface for configuring FIDO2 authentication, passwords, firmware updates, and PIN management

You may install gpg4win, then you get “Kleopatra” as GUI to get your pins set.

I have already tested Kleopatra on Windows 10 Pro. The error image I shared earlier was captured from that application. It displays the same error as GPG on Ubuntu.

Then time is come to read about the right driver setup.

You may start here:

Nitrokey Card Reader Driver Can Not be Installed on Windows

I am unable to set the user PIN to its maximum supported length of 127 characters, as mentioned in the Nitrokey documentation. PINs up to around 88 characters work fine, but anything beyond that length is rejected.

Could this issue be related to a missing or incorrect driver installation? Would installing the proper driver allow setting a PIN of the full 127-character length as stated in the documentation?

Hello, 127 is also not possible on my side. I think the maximum depends on some configuration.