mirror of
https://github.com/romanz/amodem.git
synced 2026-05-10 05:17:38 +08:00
gpg: check that GnuPG v2 is installed
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
gpg2 --version >/dev/null # verify that GnuPG 2 is installed
|
||||||
|
|
||||||
USER_ID="${1}"
|
USER_ID="${1}"
|
||||||
HOMEDIR=~/.gnupg/trezor
|
HOMEDIR=~/.gnupg/trezor
|
||||||
CURVE=${CURVE:="nist256p1"} # or "ed25519"
|
CURVE=${CURVE:="nist256p1"} # or "ed25519"
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
gpg2 --version >/dev/null # verify that GnuPG 2 is installed
|
||||||
|
|
||||||
export GNUPGHOME=~/.gnupg/trezor
|
export GNUPGHOME=~/.gnupg/trezor
|
||||||
|
|
||||||
# Make sure that the device is unlocked before starting the shell
|
# Make sure that the device is unlocked before starting the shell
|
||||||
|
|||||||
Reference in New Issue
Block a user