gpgsm --verify
Stefan Claas
stefan.claas at posteo.de
Wed May 2 08:28:51 CEST 2018
Am 02.05.18 um 07:35 schrieb Werner Koch:
> On Tue, 1 May 2018 10:55, stefan.claas at posteo.de 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
More information about the Gnupg-users
mailing list