aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cms/samplemsgs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add a sample PDF with a signatureWerner Koch2024-04-031-0/+0
| | | | --
* common: Allow for GCM decryption in de-vs mode.Werner Koch2021-06-022-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.
* sm: Support AES-GCM decryption.Werner Koch2021-06-024-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.
* tests: Rename subdir gpgsm to cms and move sample dirs.Werner Koch2021-05-311-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.