Change

Instructions on how to change your GPG PINs.

GPG PINs can be changed either by using the command-line, or with software such as Kleopatra, or any other GPG software that supports importing keys onto your device.

Select which method you want to use to change your PINs:

Enter commands using ykman.exe.

Application available on Windows and Linux.

❊ Command-line

Open Command Prompt, Terminal, or Powershell.

Type the following command:

gpg --card-edit

Wait until you see the text gpg/card>and then type:

admin

You should see the text Admin commands are allowed, and then finally, type:

passwd

You are now in admin mode for GPG and should see the following:

1 - change PIN               ( default PIN: 123456 )
2 - unblock PIN
3 - change Admin PIN         ( default PIN: 12345678 )
4 - set the Reset Code
Q - quit

Select 1, follow the instructions, and then select 3.

Once finished, press Q

❊ Kleopatra

Once the application loads, locate the Smartcards button to the right side.

Locate the Smartcard Management section and select OpenPGP.

In the lower portion of the OpenGPG panel, locate the Actions menu.

USER PIN

The following instructions explain how to change the GPG interface's USER PIN.

This dialog is where you enter your CURRENT GPG User PIN. default: 123456

You will then be asked to enter a NEW GPG User PIN and then confirm it.

Your new GPG User PIN is now saved.

ADMIN PIN

These instructions explain how to change the GPG interface's ADMIN PIN.

This dialog is where you enter your CURRENT GPG Admin PIN. default: 12345678

You will then be asked to enter a NEW GPG Admin PIN and then confirm it.

Your new GPG Admin PIN is now saved.

Last updated