aboutsummaryrefslogtreecommitdiffstats
path: root/doc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* doc: Clarify the FILE command.Werner Koch2014-11-191-4/+9
| | | | --
* Improve the debug output a bit.Werner Koch2014-11-061-1/+2
| | | | * src/debug.h (TRACE_ERR): Include the line number in the output.
* build: Implement SYSROOT feature.origin/bjk/masterWerner Koch2014-10-021-3/+16
| | | | | | * configure.ac: Document SYSROOT. * m4/gpg-error.m4: Update from libgpg-error master. * src/gpgme.m4: Implement SYSROOT stuff.
* Add new keylist mode GPGME_KEYLIST_MODE_WITH_SECRET.Werner Koch2014-06-041-6/+16
| | | | | | | | | | | | | | * src/gpgme.h.in (GPGME_KEYLIST_MODE_WITH_SECRET): New. * src/engine-gpg.c (gpg_keylist_build_options): Handle new mode. * src/engine-gpgsm.c (gpgsm_keylist, gpgsm_keylist_ext): Ditto. * src/keylist.c (parse_sec_field15): Add arg key and take care of --with-secret output. * src/gpgme-tool.c (gt_get_keylist_mode, cmd_keylist_mode): Add "with_secret". Print card info and and secret flag for subkeys. -- Note: This mode may only be used with GnuPG >= 2.1.
* Add field CURVE to the key info.Werner Koch2014-05-081-0/+4
| | | | | | | | | | | | | * src/gpgme.h.in (struct _gpgme_subkey): Add field CURVE. * src/key.c (gpgme_key_unref): Free CURVE. * src/keylist.c (keylist_colon_handler): Set CURVE. * src/gpgme.c (gpgme_release): For failsafe reasons reset engine and engine info after freeing. -- The engine hack is useful in case the other release functions accidently call engine release.
* Map public key algos returned by gpg to gpgme values.Werner Koch2014-05-081-5/+6
| | | | | | | | | | | | | | | | | | | * src/conversion.c (_gpgme_map_pk_algo): New. * src/decrypt.c (parse_enc_to): Add arg PROTOCOL and map pubkey algo. (_gpgme_decrypt_status_handler): Map pubkey algo. * src/keylist.c (keylist_colon_handler): Map pubkey algo. * src/sign.c (parse_sig_created): Add arg PROTOCOL and map pubkey algo. * src/verify.c (parse_new_sig): Ditto. (parse_valid_sig): Ditto. * src/gpgme.h.in (GPGME_PK_ECC): New. (GPGME_MD_SHA224): New. * src/gpgme.c (gpgme_pubkey_algo_name): Add GPGME_PK_ECC case. (gpgme_hash_algo_name): Add GPGME_MD_SHA224. -- This affects only the not yet released ECC code of GnuPG 2.1.
* Add GPGME_ENCRYPT_NO_COMPRESS flag.Werner Koch2014-05-081-0/+15
| | | | | | * src/gpgme.h.in (GPGME_ENCRYPT_NO_COMPRESS): New. * src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign): Implement it. * src/gpgme-tool.c (_cmd_sign_encrypt): Add option --no-compress.
* Actually implement flags for gpgme_op_spawn.Werner Koch2014-04-101-6/+7
| | | | | | | * src/spawn.c (gpgme_op_spawn_start, gpgme_op_spawn): Pass FLAGS dow to spawn_start and add FLAGS args along the call path. * src/engine-spawn.c (engspawn_start): Hack to automagically provide argv[0].
* Add GPGME_PROTOCOL_SPAWN and gpgme_op_spawn.Werner Koch2014-04-101-3/+73
| | | | | | | | | | | | | | | | | | * src/gpgme.h.in (GPGME_PROTOCOL_SPAWN): New. (GPGME_SPAWN_DETACHED, GPGME_SPAWN_ALLOW_SET_FG): New. * src/gpgme.c (gpgme_set_protocol): Add new protocol. (gpgme_get_protocol_name): Ditto. * src/spawn.c: New. * src/libgpgme.vers, src/gpgme.def: Add new public functions. * src/engine-spawn.c: New. * src/Makefile.am: Add new files. * src/engine-backend.h (struct engine_ops): Add OPSPAWN. * src/engine.c (engine_ops): Add _gpgme_engine_ops_spawn. (gpgme_get_engine_info): Add Spawn to the list of protocols. (_gpgme_engine_op_spawn): New. * src/gpgme-tool.c (gt_protocol_from_name): Add new protocol. (gt_spawn, cmd_spawn): New.
* Add gpgme_get_dirinfo.Werner Koch2014-04-101-1/+37
| | | | | * src/dirinfo.c (gpgme_get_dirinfo): New. * tests/t-engine-info.c (main): Print results from that function.
* doc: Fix documentation of struct data typesDaiki Ueno2014-03-051-11/+17
| | | | | | | | | | | * gpgme.texi (Key Management): Document is_cardkey and card_number members of gpgme_subkey_t. (Decrypt): Remove description of the non-existent wrong_key_usage member of gpgme_recipient_t. (Verify): Document pka_address member of gpgme_signature_t. (Creating a Signature): Add missing member names in gpgme_new_signature_t. (Registering I/O Callbacks): Fix reference of gpgme_io_cbs struct.
* Add global flags disable-gpgconf, gpgconf-name, and gpg-name.Werner Koch2014-01-061-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | * src/gpgme.c (gpgme_set_global_flag): Add names "disable-gpgconf", "gpgconf-name", and "gpg-name". * src/dirinfo.c (_gpgme_dirinfo_disable_gpgconf): New. (get_gpgconf_item): Minor debug info change. * src/posix-util.c (default_gpg_name, default_gpgconf_name): Add vars. (_gpgme_set_default_gpg_name): New. (_gpgme_set_default_gpgconf_name): New. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars. (walk_path): Add debug output on failure. * src/w32-util.c (default_gpg_name, default_gpgconf_name): Add vars. (replace_slashes): New. (get_basename): New. (_gpgme_set_default_gpg_name): New. (_gpgme_set_default_gpgconf_name): New. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Use new vars. * tests/t-engine-info.c (main): Add --verbose and --set-global-flag options. -- Note that the Windows part has not been tested.
* Document API change for GPGME_EVENT_DONE from 2009.Werner Koch2013-08-191-3/+3
| | | | | | | | | | | | * doc/gpgme.texi (I/O Callback Interface): Fix description for the event arg. -- With commit c8e934b2 (2009-10-26) gpgme_io_event_done_data_t was introduced to replace the use of gpg_error_t with GPGME_EVENT_DONE. Unfortunately this was not documented. Maybe at that time the event code was considered internal and its use in GPA was not known. Too bad.
* Add function gpgme_data_identify.Werner Koch2013-08-091-0/+51
| | | | | | | | | | | | | | | | | | * src/gpgme.h.in (gpgme_data_type_t): New. (gpgme_data_identify): New prototype. * src/data-identify.c: New. * src/parsetlv.c, src/parsetlv.h: New. Take from gpa. * src/libgpgme.vers, src/gpgme.def: Add gpgme_data_identify. * src/gpgme-tool.c (status): Add STATUS_IDENTIFY_RESULT. (gt_identify): New. (cmd_identify): New. (hlp_passwd): Move close to cmd_passwd. -- It is often useful to have a way to identify the data which needs processing. This is such a common task that it makes sense to implement this in gpgme to avoid diverging implementations.
* doc: Add --binary option for the OUTPUT command of an uiserver.Werner Koch2013-07-311-18/+20
|
* doc: Fix variable name.Werner Koch2013-06-181-1/+1
| | | | | -- GnuPG-bug-id: 1507
* Add function gpgme_signers_count.Werner Koch2013-06-181-0/+5
| | | | | | * src/signers.c (gpgme_signers_count): New. * src/libgpgme.vers, src/gpgme.def: Add as external symbol. * src/gpgme.h.in: Add prototype.
* doc: rename gpgme_sub_key_t to gpgme_subkey_t to match gpgme.hHans-Christoph Steiner2013-05-281-4/+4
| | | | --
* Make definition of off_t robust against misbehaving w32 toolchains.Werner Koch2013-05-161-12/+50
| | | | | | | | | | | | | | | | * configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t and gpgme_ssize_t. (API__OFF_T, API__SSIZE_T): New ac_subst. * src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros. * src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h * src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c * src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c * src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t by gpgme_off_t and sszie_t by gpgme_ssize_t. * src/ath-pthread.c, src/ath.h: Include gpgme.h. -- For a detailed description, see the gpgme.texi diff.
* Syntax fix for gpgme.texi.Werner Koch2013-04-301-1/+1
| | | | | | -- This fixes commit 12374cbecede047accd2d2267bba5927037ed16c.
* Explain the GPGME_DEBUG variable.Werner Koch2013-04-161-0/+42
| | | | --
* Release 1.4.0.gpgme-1.4.0Werner Koch2013-02-261-1/+1
| | | | * configure.ac: Bump LT version to C20/A9/R0.
* Add public function gpgme_io_writen.Werner Koch2013-02-071-3/+4
| | | | | | | | * src/gpgme.c (gpgme_io_read): New. -- This is a writen style variant for gpgme_io_write. It is often easier to use this one in passphrase and edit callbacks.
* Add DCO fileWerner Koch2012-09-251-0/+29
| | | | --
* Document contribution rules.Werner Koch2012-09-252-3/+55
| | | | | | * doc/HACKING (License policy): New. * doc/DCO: New. * AUTHORS: Change maintainer address.
* Add gpgme_set_global_flag to help debuggingWerner Koch2012-09-251-1/+25
| | | | | | | | | | | | | | * src/gpgme.c (gpgme_set_global_flag): New. * src/gpgme.h.in (gpgme_set_global_flag): New. * src/gpgme.def, src/libgpgme.vers: Add new public function. * src/debug.c (envvar_override): New.: (_gpgme_debug_set_debug_envvar): New. (debug_init): Take ENVVAR_OVERRIDE in account. -- On Android envvars can't be used, thus we need another way to enable GPGME debugging. The new function allows this and may be used in the future to implement similar things.
* Fix minor documentation problem.Werner Koch2012-05-021-27/+27
| | | | | | | -- Fixes bug#1404. (There is mentioned data field “recipient”, but actual data field name is “recipients”.)
* .gitignore: flesh out rules and add subdirectory-.gitignores.W. Trevor King2012-04-201-0/+5
|
* uiserver.texi: fix decryption -> encryption typo in PREP_ENCRYPT discussion.W. Trevor King2012-04-031-1/+1
| | | | * doc/uiserver.texi (PREP_ENCRYPT): Fix documentation.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-023-9/+45
| | | | | | | | | | | | | | | * build-aux/gitlog-to-changelog: New script. Taken from gnulib. * build-aux/git-log-fix: New file. * build-aux/git-log-footer: New file. * build-aux/git-hook/commit-msg: New script. * doc/HACKING: New file. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. * autogen.sh: Install commit-msg hook for git. Rename all ChangeLog files to ChangeLog-2011.
* Fix I/O callback example.Marcus Brinkmann2011-05-122-7/+14
|
* Correct key-gen example.Marcus Brinkmann2011-05-122-6/+11
|
* Typo fixes spotted by Daiki Ueno.Werner Koch2011-01-071-2/+2
|
* Add option GPGME_EXPORT_MODE_MINIMALWerner Koch2010-02-161-0/+6
|
* Allow the native W32 version to properly work with sockets.Werner Koch2010-01-251-1/+1
|
* Support gpgme_op_apsswd for GPG.Werner Koch2010-01-081-0/+3
|
* Add an API to change passphrases. Currently only implemented forWerner Koch2010-01-052-1/+51
| | | | | GPGSM. Requires GnuPG 2.1
* Prepare for a new protocol.Werner Koch2009-11-031-0/+9
| | | | | Comment clarification.
* Fix detection of invalid signer keys.Werner Koch2009-08-063-3/+15
| | | | | Support the new INV_SGNR status code.
* Add support for gpg --fetch-keys.Werner Koch2009-06-162-0/+14
|
* doc/Marcus Brinkmann2009-06-162-0/+38
| | | | | | | | | | | | | 2009-06-16 Marcus Brinkmann <[email protected]> * gpgme.texi (Result Management): New section. src/ 2009-06-16 Marcus Brinkmann <[email protected]> * gpgme.c (result_ref_lock): New global variable. (gpgme_result_ref, gpgme_result_unref): use it.
* Add new functions to import and export keys specified by gpgme_key_t.Werner Koch2009-06-162-6/+106
| | | | | Allow exporting keys to a keyserver.
* doc/Marcus Brinkmann2009-05-282-3/+17
| | | | | | | | | | | | | | | | | | | | | | 2009-05-28 Marcus Brinkmann <[email protected]> * gpgme.texi (Library Version Check): Document selftest error. (Creating Contexts): Likewise. src/ 2009-05-28 Marcus Brinkmann <[email protected]> * gpgme.h.in (gpgme_check_version_internal): New prototype. (gpgme_check_version): New macro, overriding function of the same name. * libgpgme.vers, gpgme.def: Add gpgme_check_version_internal.o * context.h (_gpgme_selftest): New variable declaration. * version.c: Include "context.h". (gpgme_check_version): Set _gpgme_selftest on success. (gpgme_check_version_internal): New function. * gpgme.c (_gpgme_selftest): Define it. (gpgme_new): Check the selftest result.
* doc/Marcus Brinkmann2009-05-182-0/+11
| | | | | | | | | | | | | | | | | | 2009-05-18 Marcus Brinkmann <[email protected]> * gpgme.texi (Encrypting a Plaintext): Document GPGME_ENCRYPT_NO_ENCRYPT_TO. src/ 2009-05-18 Marcus Brinkmann <[email protected]> * gpgme.h.in (gpgme_encrypt_flags_t): Add GPGME_ENCRYPT_NO_ENCRYPT_TO. * engine-gpg.c (gpg_encrypt): Pass --no-encrypt-to to gpg if GPGME_ENCRYPT_NO_ENCRYPT_TO flag is set.
* 2009-05-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann2009-05-052-4/+8
| | | | | * gpgme.texi (Engine Information): Replace path by file_name.
* Add GPGME_KEYLIST_MODE_EPHEMERAL.Werner Koch2009-03-181-0/+4
|
* Fix doc bug.Werner Koch2008-11-282-1/+6
|
* Fix bug #818.Werner Koch2008-10-202-1/+9
| | | | | Use gpgme.h.in instead of in-place editing gpgme.h.
* Add a module overview diagram.Werner Koch2008-07-173-0/+646
|
* Update automake scripts.Werner Koch2008-07-044-2960/+5227
| | | | | Minor doc changes.