gpg: allow PIN entry before starting GPG shell

This commit is contained in:
Roman Zeyde
2016-10-30 22:01:01 +02:00
parent e74b9c77af
commit 75405b4944
3 changed files with 16 additions and 1 deletions

View File

@@ -4,4 +4,7 @@ set -eu
export GNUPGHOME=~/.gnupg/trezor
gpg2 --list-public-keys
# Make sure that the device is unlocked before starting the shell
trezor-gpg-unlock
${SHELL}