Closed NB2455 closed 1 year ago
AFAIK this command doesn't reset PIV but overwrites a certificate.
Doesn't opensc-tool -s 00:A4:04:00:0B:A000000308000010000100 -s 00:FB:00:00
work? It should actually completely reset the PIV application, not just the certificate.
More accurately, opensc-tool -s 00:A4:04:00:0B:A000000308000010000100 -s 00:20:00:80:08:FFFFFFFFFFFFFFFF -s 00:20:00:80:08:FFFFFFFFFFFFFFFF -s 00:20:00:80:08:FFFFFFFFFFFFFFFF -s 00:FB:00:00
will first lock the application PIN to ensure that the reset works (unless the PIN is FFFFFFFFFFFFFFF
.
This PR will be replaced by #178
ticket no #155: Describe reset commands for all applications. simple syntax edits with new section defining PIV smartcard reset section.