Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Cmd = &cobra.Command{
Use: "reset",
Short: "reset the PIV part of a Yubikey",
Long: `Reset resets the YubiKey PIV applet to its factory settings, wiping all
slots. This does not affect data on other applets, such as GPG or U2F. If
--leave-on-defaults the Yubikey is left with the PIN, PUK, and management
key set to the factory defaults. If this switch is not given then a new random
PIN, PUK, and management key are generated and the PIN and PUK will be printed
on standard output. To set up a Yubikey with a custom PIN and random PUK that
is not recorded anywhere, use the switches -f -n . -q`,
RunE: resetCmd,
}
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.