gpg: add a script for faster commit verification

nistp521
Roman Zeyde 9 years ago
parent 07c4100618
commit d369638c7b

@ -31,6 +31,5 @@ setup(
'trezor-agent = trezor_agent.__main__:run_agent', 'trezor-agent = trezor_agent.__main__:run_agent',
'trezor-git = trezor_agent.__main__:run_git', 'trezor-git = trezor_agent.__main__:run_git',
'trezor-gpg = trezor_agent.gpg.signer:main', 'trezor-gpg = trezor_agent.gpg.signer:main',
'trezor-git-gpg-wrapper = trezor_agent.gpg.git_wrapper:main',
]}, ]},
) )

@ -0,0 +1,7 @@
#!/bin/bash
if [[ "$*" == *"--verify"* ]]
then
gpg2 $* # verify using GPG2 (for ECDSA and EdDSA keys)
else
python -m trezor_agent.gpg.git_wrapper $* # sign using TREZOR
fi
Loading…
Cancel
Save