mirror of
https://github.com/romanz/amodem.git
synced 2026-05-10 05:17:38 +08:00
GPG: set default user ID for signing during gpg-init
This commit is contained in:
@@ -29,6 +29,7 @@ AGENT_PATH="$(which ${DEVICE}-gpg-agent)"
|
|||||||
echo "# Hardware-based GPG configuration
|
echo "# Hardware-based GPG configuration
|
||||||
agent-program ${AGENT_PATH}
|
agent-program ${AGENT_PATH}
|
||||||
personal-digest-preferences SHA512
|
personal-digest-preferences SHA512
|
||||||
|
default-key \"${USER_ID}\"
|
||||||
" > "${HOMEDIR}/gpg.conf"
|
" > "${HOMEDIR}/gpg.conf"
|
||||||
|
|
||||||
# Prepare GPG agent configuration file
|
# Prepare GPG agent configuration file
|
||||||
|
|||||||
Reference in New Issue
Block a user