From fa6d8564b9eae9f65f0b9a2340d0b1bf346e42c3 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 24 Oct 2016 10:52:36 +0300 Subject: [PATCH] gpg: use SHA-512 as default hash for signatures --- scripts/gpg-init | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/gpg-init b/scripts/gpg-init index 0ad5ec7..48e4128 100755 --- a/scripts/gpg-init +++ b/scripts/gpg-init @@ -22,6 +22,7 @@ echo "${FINGERPRINT}:6" | gpg2 --homedir "${HOMEDIR}" --import-ownertrust # Prepare GPG configuration file echo "# TREZOR-based GPG configuration agent-program $(which trezor-gpg-agent) +personal-digest-preferences SHA512 " | tee "${HOMEDIR}/gpg.conf" echo "# TREZOR-based GPG agent emulator