aboutsummaryrefslogtreecommitdiffstats
path: root/tests/run-encrypt.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-08-12core: Make use of the "size-hint" in engine-gpg.Werner Koch1-2/+67
* src/engine-gpg.c: Include data.h. (add_input_size_hint): New. (gpg_decrypt, gpg_encrypt, gpg_encrypt_sign, gpg_sign) (gpg_verify): Call new function, * tests/run-encrypt.c (status_cb): Print to stderr. (progress_cb): New.o (main): Add option --progress. Print full-status lines. Provide a size for the input data. Signed-off-by: Werner Koch <[email protected]>
2016-08-09core: Add support for mixed symmetric and asym encAndre Heinecke1-2/+12
* 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.
2016-05-17tests: New maintenance helper run-encrypt.Werner Koch1-51/+46
* tests/run-encrypt.c: New. Signed-off-by: Werner Koch <[email protected]>
2015-08-25tests: Allow using run-sign to test loopback pinentry problems.Werner Koch1-0/+26
* tests/run-sign.c: Add options --status and --loopback.
2012-09-25Remove all trailing whitespace from source filesWerner Koch1-11/+11
-- Command used: sed -i 's,[ \t]*$,,' FILE
2009-11-03Prepare for a new protocol.Werner Koch1-3/+13
Comment clarification.
2009-08-06Fix detection of invalid signer keys.Werner Koch1-0/+187
Support the new INV_SGNR status code.