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 set-retries OPTIONS PIN-RETRIES PUK-RETRIES
  • HELP
  • EXAMPLE

Was this helpful?

  1. commands
  2. access

set-retries

Set the number of PIN and PUK retry attempts.

ykman piv access set-retries OPTIONS PIN-RETRIES PUK-RETRIES

Options
Description

-h, --help

Show this message and exit.

-f, --force

Confirm the action without prompting.

-m, --management-key TEXT

Management key.

-P, --pin TEXT

PIN code.

Arguments
Description

PIN-RETRIES

Set number of retries for PIN attempts.

PUK-RETRIES

Set number of retries for PUK attempts.

HELP

Usage: ykman.exe piv access set-retries [OPTIONS] PIN-RETRIES PUK-RETRIES

  Set the number of PIN and PUK retry attempts. NOTE: This will reset the PIN and PUK to their factory defaults.

Options:
  -m, --management-key TEXT  The management key.
  -P, --pin TEXT             PIN code.
  -f, --force                Confirm the action without prompting.
  -h, --help                 Show this message and exit.

EXAMPLE

ykman piv access set-retries 10 10
Previouschange-pukNextunblock-pin

Last updated 2 years ago

Was this helpful?

⭕
🟣