keychain: improve
- don't set pinentry manually, let local system manage it - update cache-ttls to improve longevity
This commit is contained in:
parent
fa23d478cd
commit
15bf832b30
@ -52,7 +52,7 @@ alias xrm='sudo xbps-remove'
|
||||
# GPG setup (and SSH)
|
||||
if command -v keychain >/dev/null; then
|
||||
alias keychain="keychain --absolute --dir $XDG_RUNTIME_DIR"
|
||||
eval "$(keychain --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C)"
|
||||
eval "$(keychain --quick --quiet --eval --agents gpg D7F966B85D985743C76A17AC5A9572AE7B2E7E1C)"
|
||||
fi
|
||||
if command -v gpgconf >/dev/null; then
|
||||
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
|
@ -1,5 +1,5 @@
|
||||
default-cache-ttl 86400
|
||||
max-cache-ttl 86400
|
||||
pinentry-program /usr/bin/pinentry-qt
|
||||
allow-preset-passphrase
|
||||
default-cache-ttl 60480000
|
||||
default-cache-ttl-ssh 60480000
|
||||
max-cache-ttl 60480000
|
||||
max-cache-ttl-ssh 60480000
|
||||
enable-ssh-support
|
||||
|
Loading…
Reference in New Issue
Block a user