add a test-signature action

that takes a certificate in and does a signature with the given slot,
then verifying that signature with the given certificate.
This commit is contained in:
Klas Lindfors
2015-03-18 15:48:38 +01:00
parent ef1ee5a6f6
commit f204987941
4 changed files with 145 additions and 3 deletions
+9
View File
@@ -74,3 +74,12 @@ Change the management key used for administrative authentication:
Delete a certificate in slot 9a:
yubico\-piv\-tool \-a delete\-certificate \-s 9a
Show some information on certificates and other data:
yubico\-piv\-tool \-a status
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 verify\-pin \-P 123456 \-a test\-signature \-s 9a