aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cms/samplemsgs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-04-03tests: Add a sample PDF with a signatureWerner Koch1-0/+0
--
2021-06-02common: Allow for GCM decryption in de-vs mode.Werner Koch2-1/+1
* common/compliance.c (gnupg_cipher_is_allowed): Allow GCM for gpgsm in decrypt mode. * tests/cms/samplemsgs/pwri-sample.gcm.p7m: Remove duplicated authtag -- We allow GCM in de-vs mode for decryption although this has not been evaluation. It is decryption and thus no serious harm may happen.
2021-06-02sm: Support AES-GCM decryption.Werner Koch4-0/+6
* 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.
2021-05-31tests: Rename subdir gpgsm to cms and move sample dirs.Werner Koch1-0/+0
-- It does not make sense to have the cms stuff at the top level but the openpgp at a dedicated directory. This patch fixes that.