GPG: set default user ID for signing during gpg-init

This commit is contained in:
Roman Zeyde
2017-06-05 22:04:03 +03:00
parent ae2a84e168
commit 5820480052

View File

@@ -29,6 +29,7 @@ AGENT_PATH="$(which ${DEVICE}-gpg-agent)"
echo "# Hardware-based GPG configuration
agent-program ${AGENT_PATH}
personal-digest-preferences SHA512
default-key \"${USER_ID}\"
" > "${HOMEDIR}/gpg.conf"
# Prepare GPG agent configuration file