Add keychain extension.

This commit is contained in:
Aaron Bieber 2021-01-05 17:55:02 +00:00
parent f85d8fded0
commit 410c87cae7
2 changed files with 11 additions and 0 deletions

6
extensions/keychain.ksh Executable file
View File

@ -0,0 +1,6 @@
KEYCHAIN_OPTS=${KEYCHAIN_OPTS:---gpg2 --inherit any --agents ssh,gpg -q -Q}
KEYCHAIN_CONF="$HOME/.keychain/$(uname -n)-sh"
[ -f "${KEYCHAIN_CONF}" ] && . "${KEYCHAIN_CONF}"
[ -f "${KEYCHAIN_CONF}-gpg" ] && . "${KEYCHAIN_CONF}-gpg"

5
extensions/keychain.org Normal file
View File

@ -0,0 +1,5 @@
* keychain
** Variables
- KEYCHAIN_OPTS :: --gpg2 --inherit any --agents ssh,gpg -q -Q