Update 'Home'

2023-03-10 21:03:40 +08:00
parent 3a8ef2af73
commit 791e00bfb3

22
Home.md

@@ -6,6 +6,28 @@ ykman piv keys import SLOT private.pem
ykman piv certificates generate SLOT public.pem -s 'O=age-plugin-yubikey,OU=0.3.3,CN=YOU_ID'
```
`ykman piv keys import` help message:
```shell
Usage: ykman piv keys import [OPTIONS] SLOT PRIVATE-KEY
Import a private key from file.
Write a private key to one of the PIV slots on the YubiKey.
SLOT PIV slot of the private key
PRIVATE-KEY file containing the private key (use '-' to use stdin)
Options:
-P, --pin TEXT PIN code
-m, --management-key TEXT the management key
--pin-policy [DEFAULT|NEVER|ONCE|ALWAYS]
PIN policy for slot
--touch-policy [DEFAULT|NEVER|ALWAYS|CACHED]
touch policy for slot
-p, --password TEXT password used to decrypt the private key
-h, --help show this message and exit
```
# List Yubikey identities