diff --git a/setup.py b/setup.py index e95f8e0..f131768 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,6 @@ setup( author_email='roman.zeyde@gmail.com', url='http://github.com/romanz/trezor-agent', packages=['trezor_agent', 'trezor_agent.gpg'], - scripts=['trezor_agent/gpg/trezor-git-gpg-wrapper.sh'], install_requires=['ecdsa>=0.13', 'ed25519>=1.4', 'Cython>=0.23.4', 'protobuf>=2.6.1', 'trezor>=0.6.12', 'semver>=2.2'], platforms=['POSIX'], classifiers=[ diff --git a/trezor_agent/gpg/README.md b/trezor_agent/gpg/README.md index 058c60e..09e8c9e 100644 --- a/trezor_agent/gpg/README.md +++ b/trezor_agent/gpg/README.md @@ -48,7 +48,7 @@ $ gpg2 --verify EXAMPLE.asc # verify using standard GPG binary ## Git commit & tag signatures: Git can use GPG to sign and verify commits and tags (see [here](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work)): ``` -$ git config --local gpg.program "trezor-git-gpg-wrapper.sh" +$ git config --local gpg.program "gpg2" $ git commit --gpg-sign # create GPG-signed commit $ git log --show-signature -1 # verify commit signature $ git tag --sign "TAG" # create GPG-signed tag diff --git a/trezor_agent/gpg/trezor-git-gpg-wrapper.sh b/trezor_agent/gpg/trezor-git-gpg-wrapper.sh deleted file mode 100755 index c65bbe9..0000000 --- a/trezor_agent/gpg/trezor-git-gpg-wrapper.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -if [[ "$*" == *"--verify"* ]] -then - gpg2 $* # verify using GPG2 (for ECDSA and EdDSA keys) -else - trezor-gpg sign -o- # sign using TREZOR and write the signature to stdout -fi