diff options
author | Ryan Kavanagh <rak@debian.org> | 2017-02-06 11:58:39 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@debian.org> | 2017-02-06 11:58:39 -0500 |
commit | 5e93f0e6325e0efd42550e5fe3c31a7bffff8fd1 (patch) | |
tree | 490c86d448cc481ef9520abcb79c1c5e60595a45 | |
parent | Allow substitutions of strings containing spaces (diff) |
Allow loading multiple key names in keychain
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 4 | ||||
-rw-r--r-- | SUBSTS | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -797,8 +797,8 @@ NO_verbose \ # GPG / SSH AGENT -if [[ "KEYCHAIN" = "True" ]]; then - keychain id_rsa +if [ "xKEYCHAIN" != "x" ]; then + keychain KEYCHAIN #keychain -Q ${GPGKEY} ${GPGKEY1} [ -z "$HOSTNAME" ] && HOSTNAME=`uname -n` [ -f $HOME/.keychain/$HOSTNAME-sh ] && @@ -55,8 +55,9 @@ GREP_PATH /bin/grep # path to gnome-settings-daemon GSD_PATH /usr/local/libexec/gnome-settings-daemon -# Enable keychain? If so, set to True -KEYCHAIN True +# Enable keychain? If so, set to secret key names, e.g., id_rsa id_ecdsa +# Otherwise, delete everything after N +KEYCHAIN id_rsa # Path to SSL certs for mail, etc. # /etc/ssl/cert.pem on OpenBSD |