Yubikey
YubicoBitwardenGPG ToolsDonate Coffee
GPG
GPG
  • Introduction
  • Getting Started
    • ⭕1. Interface
    • ⭕2. PINs
      • About
      • Defaults
      • Change
    • ⭕3. CLI
    • ⭕4. Keys
    • ⭕5. Reset
  • Generate Keys
    • ⭕Introduction
    • ⭕File Extensions
    • ⭕With Yubikey
    • ⭕With Commandline
    • ⭕With Kleopatra
  • IMPORT TO YUBIKEY
    • ⭕With Commandline
    • ⭕With Kleopatra
Powered by GitBook
On this page
  • ❊ Command-line
  • ❊ Kleopatra
  • USER PIN
  • ADMIN PIN

Was this helpful?

  1. Getting Started
  2. 2. PINs

Change

Instructions on how to change your GPG PINs.

PreviousDefaultsNext3. CLI

Last updated 2 years ago

Was this helpful?

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.

Before getting started, ensure that you have followed our guide on how to install the GPG Command-line.

❊ 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.

Ensure you have the Gpg tools installed on your system. Click and search for Kleopatra.

Select

Select

⭕
Command Line
Kleopatra
Read Here.