gnupg/tests/cms/samplemsgs
Werner Koch 4980fb3c6d
sm: Support AES-GCM decryption.
* 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-06-02 11:03:55 +02:00
..
README sm: Support AES-GCM decryption. 2021-06-02 11:03:55 +02:00
pwri-sample.cbc-2.p7m sm: Support AES-GCM decryption. 2021-06-02 11:03:55 +02:00
pwri-sample.cbc.p7m sm: Support AES-GCM decryption. 2021-06-02 11:03:55 +02:00
pwri-sample.gcm.p7m sm: Support AES-GCM decryption. 2021-06-02 11:03:55 +02:00
webde-buenemann-signed.cms tests: Rename subdir gpgsm to cms and move sample dirs. 2021-05-31 21:51:45 +02:00

README

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)