From 0b8d8ba953e41bbc4d01562756015ddf4fd0c658 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Fri, 16 Aug 2024 23:21:13 +0800 Subject: [PATCH] feat: update readme --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb2914c..3581f7b 100644 --- a/README.md +++ b/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
+## 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 +```