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