From 78d14c85c74aba8165c9ee2e3937a3df4597c4f1 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Fri, 16 Aug 2024 23:30:32 +0800 Subject: [PATCH] feat: update readme, add pinentry --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 3581f7b..3057c4a 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,28 @@ sshp11 root@example.com ## Configuration +### Turn on retired slots + Default retired slots are disabled, turn on: ```shell export ENABLE_RETIRED=1 ``` +## Pin entry + +Default pin entry command: + +``` +/usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac +``` + +Set pin entry command by env: + +```shell +export PIN_ENTRY_CMD=pin-entry-command +``` + +or edit file `~/.pinentry.cmd`, + +if no pin entry found, will use `pinentry`. \ No newline at end of file