8 lines
188 B
Bash
Executable File
8 lines
188 B
Bash
Executable File
#!/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
|