gpg: check that GnuPG v2 is installed

nistp521
Roman Zeyde 8 years ago
parent fc070e3ca0
commit f86aae9a40
No known key found for this signature in database
GPG Key ID: 87CAE5FA46917CBB

@ -1,6 +1,8 @@
#!/bin/bash
set -eu
gpg2 --version >/dev/null # verify that GnuPG 2 is installed
USER_ID="${1}"
HOMEDIR=~/.gnupg/trezor
CURVE=${CURVE:="nist256p1"} # or "ed25519"

@ -1,6 +1,8 @@
#!/bin/bash
set -eu
gpg2 --version >/dev/null # verify that GnuPG 2 is installed
export GNUPGHOME=~/.gnupg/trezor
# Make sure that the device is unlocked before starting the shell

Loading…
Cancel
Save