aboutsummaryrefslogtreecommitdiffstats
path: root/modules/security/gopass/gopass-ssh-load.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/security/gopass/gopass-ssh-load.sh')
-rw-r--r--modules/security/gopass/gopass-ssh-load.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/security/gopass/gopass-ssh-load.sh b/modules/security/gopass/gopass-ssh-load.sh
index c6b9a29..e974713 100644
--- a/modules/security/gopass/gopass-ssh-load.sh
+++ b/modules/security/gopass/gopass-ssh-load.sh
@@ -4,7 +4,8 @@ set -o nounset
set -o pipefail
# Load SSH keys from gopass password store
-export GNUPGHOME="${GNUPGHOME:-$HOME/.local/share/gnupg}"
+export GNUPGHOME="@@GNUPGHOME@@"
+export GOPASS_SSH_KEYS="@@GOPASS_SSH_KEYS@@"
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
export SSH_AUTH_SOCK