reset

package
v0.0.0-...-3746c95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL