Update 'pkcs15-tools.md'

This commit is contained in:
2024-08-29 01:33:53 +08:00
parent 6055023bef
commit 977f97da4d

View File

@@ -3,6 +3,30 @@ $ pkcs15-tool --list-applications
Using reader with a card: Yubico YubiKey OTP+FIDO+CCID
```
```shell
$ pkcs15-tool --list-pins
Using reader with a card: Yubico YubiKey OTP+FIDO+CCID
PIN [PIN]
Object Flags : [0x01], private
Auth ID : 02
ID : 01
Flags : [0x32], local, initialized, needs-padding
Length : min_len:4, max_len:8, stored_len:8
Pad char : 0xFF
Reference : 128 (0x80)
Type : ascii-numeric
Tries left : 3
PIN [PIV PUK]
Object Flags : [0x01], private
ID : 02
Flags : [0xF2], local, initialized, needs-padding, unblockingPin, soPin
Length : min_len:4, max_len:8, stored_len:8
Pad char : 0xFF
Reference : 129 (0x81)
Type : ascii-numeric
```
```shell
$ pkcs15-tool --list-keys
Using reader with a card: Yubico YubiKey OTP+FIDO+CCID