mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-24 22:09:57 +01:00

* tests/cms/samplemsgs/: Add sample messages. * sm/gpgsm.c (main): Use gpgrt_fcancel on decryption error. * sm/decrypt.c (decrypt_gcm_filter): New. (gpgsm_decrypt): Use this filter if requested. Check authtag. -- Note that the sample message pwri-sample.gcm.p7m is broken: The authtag is duplicated to the authEncryptedContentInfo. I used a temporary code during testing hack to that test message out.
Sample messages for CMS symmetric encryption. Password is "abc". pwri-sample.cbc.p7m - Using CBC Mode pwri-sample.cbc-2.p7m - Using CBC with a different iteration count pwri-sample.gcm.p7m - Using GCM (from a broken implementation)