gpg: use 'gpg-agent.conf' to configure trezor-gpg-agent

currently support logfile and logging verbosity
This commit is contained in:
Roman Zeyde
2016-10-24 17:55:35 +03:00
parent 683d24f4eb
commit c5262d075b
3 changed files with 16 additions and 2 deletions

View File

@@ -23,3 +23,8 @@ echo "${FINGERPRINT}:6" | gpg2 --homedir "${HOMEDIR}" --import-ownertrust
echo "# TREZOR-based GPG configuration
agent-program $(which trezor-gpg-agent)
" | tee "${HOMEDIR}/gpg.conf"
echo "# TREZOR-based GPG agent emulator
log-file ${HOMEDIR}/gpg-agent.log
verbosity 2
" | tee "${HOMEDIR}/gpg-agent.conf"