Home GnuPG
Diffusion GPGME 3d2f027d0f40

core: Add support for mixed symmetric and asym enc
3d2f027d0f40Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

core: Add support for mixed symmetric and asym enc

* src/gpgme.h.in (gpgme_encrypt_flags_t): New flag
GPGME_ENCRYPT_SYMMETRIC.
* src/engine-gpg.c (gpg_encrypt): Also add --symmetric if the flag
is given.
* NEWS: Mention new flag.
* tests/run-encrypt.c (show_usage): Extend for --symmetric.
(main): Handle --symmetric.
(main): Set passphrase_cb in loopback mode.
(main): Fix encrypt call if no recipients are given.
* tests/gpg/t-encrypt-mixed.c: New.
* tests/gpg/Makefile.am (c_tests): Add new test.
* doc/gpgme.texi: Document new flag.

Details

Provenance
aheineckeAuthored on Aug 9 2016, 11:40 AM
Parents
rMb5e16b036f00: core: Let GPGME_PROTOCOL_ASSUAN pass Assuan comments through.
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rM3d2f027d0f40: core: Add support for mixed symmetric and asym enc (authored by Andre Heinecke <aheinecke@intevation.de>).Aug 9 2016, 2:23 PM