oct-pin(1) General Commands Manual oct-pin(1)

oct-pin - PIN management (change PINs, reset blocked PINs)

oct pin <-c|--card> [-h|--help] <subcommands>

PIN management (change PINs, reset blocked PINs)

OpenPGP cards use PINs (numerical passwords) to verify that a user is allowed to perform an operation. There are two PINs for regular operation, User PIN and Admin PIN, and one optional Resetting Code.

The User PIN is required to use cryptographic operations on a card (such as decryption or signing). The Admin PIN is needed to configure a card (for example to import an OpenPGP key into the card) or to unblock the User PIN. The Resetting Code only allows unblocking the User PIN. This is useful if the user doesn't have access to the Admin PIN.

By default, on unconfigured (or factory reset) cards, the User PIN is typically set to 123456, and the Admin PIN is set to 12345678.

Identifier of the card to use
Print help (see a summary with '-h')

Set User PIN
Set Admin PIN
Reset User PIN with Admin PIN
Reset User PIN with Resetting Code
Set Resetting Code
Print this message or the help of the given subcommand(s)
oct-pin