1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-13 06:55:23 +02:00
tldr/pages/common/ykman-openpgp.md
Managor 5305776d45
*: capitalize the first letter after "Note:" (#16226)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-05-04 05:15:17 +03:00

21 lines
702 B
Markdown

# 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 info`
- 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):
`ykman openpgp reset`