Re: Verification of a detached signature fails, what am I missing?

2022-05-08 Thread Ingo Klöcker
On Sonntag, 8. Mai 2022 01:33:28 CEST Vinay Sajip via Gnupg-users wrote: > The following script fails at the verification step. It needs to be run with [...] > echo $'\e[1;33m'Creating random data to sign ...$'\e[0m' > dd if=/dev/urandom of=data-to-sign bs=1 count=1024 > /dev/null 2>&1 > echo

Verification of a detached signature fails, what am I missing?

2022-05-07 Thread Vinay Sajip via Gnupg-users
The following script fails at the verification step. It needs to be run with Bash in a scratch directory. command_status() {     if [ $1 = '0' ]; then     echo $'\e[1;32m'Result: Success$'\e[0m'     else     echo $'\e[1;31m'Result: Failure \(exit code = $1\)$'\e[0m'     fi } GPG=gpg2 rm