trezor-agent/scripts/gpg-shell
2016-10-30 22:03:39 +02:00

11 lines
173 B
Bash
Executable File

#!/bin/bash
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}