Am 02.05.18 um 07:35 schrieb Werner Koch:
On Tue, 1 May 2018 10:55, [email protected] said:
openssl cms -verify -in original.eml > message.txt && \
openssl cms -cmsout -in original.eml | \
sed "1,4d" | base64 -d > file.sig && \
gpgsm --verify file.sig message.txt
Adding --verbose to the gpgsm invocation may give you additional hints.
IIRC, "--debug x509" may be helpful to. Is file.sig a valid CMS file;
that is can you parse it with dumpasn1 or the openssl sub-command?
BTW, gpgsm has an option --assume-base64 so that you don't need the base64
tool.
Thank you very much for the addional information, much appreciated!
Yes, file.sig can be parsed with dumpasn1.
Regards
Stefan
_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users