feat: update readme, add pinentry
This commit is contained in:
19
README.md
19
README.md
@@ -35,9 +35,28 @@ sshp11 root@example.com
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
### Turn on retired slots
|
||||||
|
|
||||||
Default retired slots are disabled, turn on:
|
Default retired slots are disabled, turn on:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
export ENABLE_RETIRED=1
|
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`.
|
||||||
Reference in New Issue
Block a user