On Sun, 22 Apr 2018 20:26, stefan.cl...@posteo.de said:

> i was wondering when receiving an S/MIME
> message created with Thunderbird, how do
> i properly verify the message with gpgsm?

You need to de-compose the S/MIME message to get the CMS objects.
Despit ethe name, gpgsm does not known about S/MIME (or MIME at all) and
thus can't parse it.  That is actually the same as with PGP/MIME which
can't be handled directly by gpg [1].

In gnupg/tools/ you can find a basic MIME parser but it is not well
documented and only used for manual testing.


Salam-Shalom,

   Werner



[1] Actually encrypted PGP/MIME messages can be directly decrypted gpg
due to a pecularity of the PGP/MIME format.

-- 
#  Please read:  Daniel Ellsberg - The Doomsday Machine  #
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

Attachment: pgpkpgi45X8Z4.pgp
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to