feat: update readme
This commit is contained in:
31
README.md
31
README.md
@@ -1,18 +1,43 @@
|
||||
Yubikey PIV PKCS#11
|
||||
# Yubikey PIV PKCS#11
|
||||
|
||||
> Fork form: https://github.com/google/native-pkcs11
|
||||
> This project is forked form: https://github.com/google/native-pkcs11
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
## OpenSC pkcs11-tool
|
||||
|
||||
Alias:
|
||||
|
||||
```shell
|
||||
alias p11='pkcs11-tool --module /FULLPATH/libyubikey_piv_pkcs11.dylib'
|
||||
```
|
||||
|
||||
List certificates
|
||||
List certificates:
|
||||
|
||||
```shell
|
||||
p11 --list-object --type cert
|
||||
```
|
||||
|
||||
## OpenSSH
|
||||
|
||||
Alias:
|
||||
|
||||
```shell
|
||||
alias sshp11='ssh -I /FULLPATH/libyubikey_piv_pkcs11.dylib'
|
||||
```
|
||||
|
||||
SSH server:
|
||||
|
||||
```shell
|
||||
sshp11 root@example.com
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Default retired slots are disabled, turn on:
|
||||
|
||||
```shell
|
||||
export ENABLE_RETIRED=1
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user