snippetbashTip
ykman openpgp — Manage the OpenPGP YubiKey application. Note: You need to use `gpg --card-edit` for some settings. M
Viewed 0 times
thecommandopenpgpclimanageykman openpgpyubikeyapplication
Problem
How to use the
ykman openpgp command: Manage the OpenPGP YubiKey application. Note: You need to use gpg --card-edit for some settings. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/OpenPGP_Commands.html>.Solution
ykman openpgp — Manage the OpenPGP YubiKey application. Note: You need to use gpg --card-edit for some settings. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/OpenPGP_Commands.html>.Display general information about the OpenPGP application:
ykman openpgp infoSet 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):
ykman openpgp resetCode Snippets
Display general information about the OpenPGP application
ykman openpgp infoSet 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)
ykman openpgp resetContext
tldr-pages: common/ykman openpgp
Revisions (0)
No revisions yet.