差異處
這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
yubikey [2018/04/12 19:09] jz |
yubikey [2019/02/02 18:46] (目前版本) jz |
||
|---|---|---|---|
| 行 9: | 行 9: | ||
| <code> | <code> | ||
| + | # yubikey manager | ||
| + | pacman -S yubikey-manager | ||
| + | |||
| # smart card daemon | # smart card daemon | ||
| systemctl start pcscd.service | systemctl start pcscd.service | ||
| 行 14: | 行 17: | ||
| # enable U2F/smartcard/CCID feature | # enable U2F/smartcard/CCID feature | ||
| - | ykpersonalize -m86 | + | ykpersonalize -m86 # yubikey 4 or below |
| + | ykman config usb --enable-all # yubikey 5 or up | ||
| # generate key | # generate key | ||
| 行 80: | 行 84: | ||
| # add a pure authentication key | # add a pure authentication key | ||
| - | add key | + | addkey |
| + | 8 | ||
| A | A | ||
| S | S | ||
| E | E | ||
| + | Q | ||
| 4096 | 4096 | ||
| 0 | 0 | ||
| 行 129: | 行 135: | ||
| PIN retry counter : 0 0 3 | PIN retry counter : 0 0 3 | ||
| + | gpg --card-edit | ||
| gpg/card> admin | gpg/card> admin | ||
| Admin commands are allowed | Admin commands are allowed | ||
