Error in your post------------------- Code: 905 Name: KEY_CORRUPTED Description: no valid primary key self-signature or key(s) have expired (Signature failure in packet 1: rejecting insecure hash SHA1 (b09b16faed079011))
The echo {json} | gpg -u $keyid -a --sign command generates a message with a correct signature:
gpg: Signature made Mo 29 Mar 12:36:45 2021 CEST gpg: using RSA key 0EBFBCCA3E540AD481817E16B09B16FAED079011 gpg: Good signature from "Christoph Badura <bad@bsd.de>" [ultimate]
I get:
Error in your post
-------------------
Code: 905 Name: KEY_CORRUPTED Description: no valid primary key self-signature or key(s) have expired (Signature failure in packet 1: rejecting insecure hash SHA1 (b09b16faed079011))
The
echo {json} | gpg -u $keyid -a --sign
command generates a message with a correct signature:gpg: Signature made Mo 29 Mar 12:36:45 2021 CEST gpg: using RSA key 0EBFBCCA3E540AD481817E16B09B16FAED079011 gpg: Good signature from "Christoph Badura <bad@bsd.de>" [ultimate]
what gives?