Yubikey
YubicoBitwardenGPG ToolsDonate Coffee
PIV
PIV
  • Introduction
  • Getting Started
    • ⭕1. Interface
    • ⭕2. PINs
      • 🟣About
      • 🟣Defaults
      • 🟣Change
    • ⭕3. CLI
    • ⭕4. Certificates
    • ⭕5. Reset
  • SLOTS
    • ⭕9A
      • 🟣Certreq
      • 🟣OpenSSL
    • ⭕9C
    • ⭕9D
    • ⭕9E
  • Generate
    • ⭕File Extensions
    • ⭕With OpenSSL
      • 🟣distinguished_name
      • 🟣keyUsage
      • 🟣extendedKeyUsage
    • ⭕With XCA
  • commands
    • ⭕info
    • ⭕reset
    • ⭕access
      • 🟣change-management-key
      • 🟣change-pin
      • 🟣change-puk
      • 🟣set-retries
      • 🟣unblock-pin
    • ⭕certificates
      • 🟣delete
      • 🟣export
      • 🟣generate
      • 🟣import
      • 🟣request
    • ⭕keys
      • 🟣attest
      • 🟣export
      • 🟣generate
      • 🟣import
    • ⭕objects
      • 🟣export
      • 🟣generate
      • 🟣import
Powered by GitBook
On this page
  • ykman piv access change-puk OPTIONS
  • HELP
  • EXAMPLE

Was this helpful?

  1. commands
  2. access

change-puk

Change the PUK code. If the PIN is lost or blocked it can be reset using a PUK. The PUK must be between 6 and 8 characters long, and it can be any type of alphanumeric character.

ykman piv access change-puk OPTIONS

Options
Description

-h, --help

Show this message and exit.

-n, --new-puk TEXT

New PUK code.

-p, --puk TEXT

Current PUK code.

HELP

Usage: ykman.exe piv access change-puk [OPTIONS]

  Change the PUK code.

  If the PIN is lost or blocked it can be reset using a PUK. The PUK must be between 6 and 8 characters long, and supports any type of
  alphanumeric characters.

Options:
  -p, --puk TEXT      Current PUK code.
  -n, --new-puk TEXT  A new PUK code.
  -h, --help          Show this message and exit.

EXAMPLE

ykman piv access change-puk
ykman piv access change-puk --puk 12345678 --new-puk 87654321
Previouschange-pinNextset-retries

Last updated 2 years ago

Was this helpful?

⭕
🟣