clearer text on --help and --verbose add example of touch-policy
This commit is contained in:
@@ -83,8 +83,8 @@ the PCSC backend.
|
|||||||
Example Usage
|
Example Usage
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
For help text on all commands --help can be given to the command, for more
|
For a list of all available options --help can be given. For more information
|
||||||
output --verbose or --verbose=2 may be added.
|
on exactly what happens --verbose or --verbose=2 may be added.
|
||||||
|
|
||||||
Generate a new ECC-P256 key on device in slot 9a, will print the public
|
Generate a new ECC-P256 key on device in slot 9a, will print the public
|
||||||
key on stdout:
|
key on stdout:
|
||||||
@@ -130,3 +130,8 @@ Read out the certificate from a slot and then run a signature test:
|
|||||||
|
|
||||||
yubico-piv-tool -a read-cert -s 9a
|
yubico-piv-tool -a read-cert -s 9a
|
||||||
yubico-piv-tool -a verify-pin -P 123456 -a test-signature -s 9a
|
yubico-piv-tool -a verify-pin -P 123456 -a test-signature -s 9a
|
||||||
|
|
||||||
|
Import a key into slot 85 (only available on YubiKey 4) and set the
|
||||||
|
touch policy (also only available on YubiKey 4):
|
||||||
|
|
||||||
|
yubico-piv-tool -a import-key -s 85 --touch-policy=always -i key.pem
|
||||||
|
|||||||
@@ -84,3 +84,8 @@ Read out the certificate from a slot and then run a signature test:
|
|||||||
|
|
||||||
yubico\-piv\-tool \-a read\-cert \-s 9a
|
yubico\-piv\-tool \-a read\-cert \-s 9a
|
||||||
yubico\-piv\-tool \-a verify\-pin \-P 123456 \-a test\-signature \-s 9a
|
yubico\-piv\-tool \-a verify\-pin \-P 123456 \-a test\-signature \-s 9a
|
||||||
|
|
||||||
|
Import a key into slot 85 (only available on YubiKey 4) and set the
|
||||||
|
touch policy (also only available on YubiKey 4):
|
||||||
|
|
||||||
|
yubico-piv-tool \-a import\-key \-s 85 \-\-touch-policy=always \-i key.pem
|
||||||
|
|||||||
Reference in New Issue
Block a user