доступ к устройствам Nitrokey (access Nitrokey devices)
Параметры (Options)
-m
, --model librem
|pro
|storage
Restrict connections to the given device model, see the
Device selection section.
--serial-number
serial-number
Restrict connections to the given serial number, see the
Device selection section. serial-number must be a hex
string with an optional 0x prefix. This option can be set
multiple times to allow any of the given serial numbers.
Nitrokey Storage devices never match this restriction as
they do not expose their serial number in the USB device
descriptor.
--usb-path
usb-path
Restrict connections to the given USB path, see the Device
selection section.
--no-cache
If this option is set, nitrocli will not cache any
inquired secrets using gpg-agent
(1) but ask for them each
time they are needed. Note that this option does not
cause any cached secrets to be cleared. If a secret is
already in the cache it will be ignored, but left
otherwise untouched. Use the pin clear
command to clear
secrets from the cache.
-v
, --verbose
Enable additional logging and control its verbosity.
Logging enabled through this option will appear on the
standard error stream. This option can be supplied
multiple times. A single occurrence will show additional
warnings. Commands sent to the device will be shown when
supplied three times and full device communication is
available with four occurrences. Supplying this option
five times enables the highest verbosity.
-V
, --version
Print the nitrocli version and exit.