From d22cd7512d862a486e099460611755d4ed03394a Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sun, 6 Nov 2016 22:39:45 +0200 Subject: [PATCH] gpg: launch agent before starting the shell --- scripts/gpg-shell | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/gpg-shell b/scripts/gpg-shell index 4b1dc76..a8def89 100755 --- a/scripts/gpg-shell +++ b/scripts/gpg-shell @@ -6,6 +6,9 @@ export GNUPGHOME=~/.gnupg/trezor # Make sure that the device is unlocked before starting the shell trezor-gpg-unlock +# Make sure TREZOR-based gpg-agent is running +gpg-connect-agent --agent-program "$(which trezor-gpg-agent)"