commands.sh

ykman openpgp

all

Manage the OpenPGP YubiKey application. Note: You need to use `gpg --card-edit` for some settings.

More info →

Examples (4)

Display general information about the OpenPGP application

Set the number of retry attempts for the User PIN, Reset Code, and Admin PIN, respectively

ykman openpgp access set-retries 3 3 3

Change the User PIN, Reset Code, or Admin PIN

ykman openpgp access change-pin|reset-code|admin-pin

Factory reset the OpenPGP application (you have to do this after exceeding the number of Admin PIN retry attempts)

made by @shridhargupta | data from tldr-pages