Werner Koch
c62b79a1d6
Add gpgme_set_global_flag to help debugging
...
* 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.
2012-09-25 15:38:26 +02:00
Werner Koch
4751a0e1bc
Post release updates.
...
--
2012-05-02 11:30:57 +02:00
Werner Koch
9c8608f702
Release 1.3.2.
...
* configure.ac: Bump LT version to C19/A8/R1.
* configure.ac (GITLOG_TO_CHANGELOG): Define.
* Makefile.am (gen-ChangeLog): Use it.
2012-05-02 11:18:24 +02:00
Werner Koch
d6402b888f
Update signature summary for the case of missing X.509 keys.
...
* src/verify.c (gpgme_op_verify_result): Update summary field.
--
This is actually a hack to solve the problem that GPGME currently does
not emit ERRSIG for a missing public key.
2012-05-02 10:30:09 +02:00
Marcus Brinkmann
3ddf4c3d40
Remove support for libgpgme-pth.
2011-10-25 18:59:26 +02:00
Marcus Brinkmann
86a439d1d1
Post-release.
2011-07-04 20:45:15 +02:00
Marcus Brinkmann
547aca0b24
Release 1.3.1
2011-06-16 14:38:59 +02:00
Marcus Brinkmann
6e32f8f0c1
Update NEWS file.
2011-05-06 17:46:03 +02:00
Marcus Brinkmann
15a3f59481
2010-08-18 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.def: Add gpgme_err_code_from_syserror and gpgme_err_set_errno.
* libgpgme.vers: Likewise.
* gpgme.h.in (gpgme_error_from_errno): Fix return type to
gpgme_error_t.
(gpgme_err_code_from_syserror, gpgme_err_set_errno): New prototype.
(gpgme_error_from_syserror): New inline function (why are
gpgme_err_make_from_errno and gpgme_error_from_errno not inline
functions?).
* error.c (gpgme_error_from_errno): Fix return type to gpgme_error_t.
(gpgme_err_set_errno, gpgme_err_code_from_syserror): New functions.
2010-08-18 14:14:27 +00:00
Werner Koch
f89d122607
comment typo fixes
2010-06-29 17:13:07 +00:00
Werner Koch
6e3602b556
Detect old gpg versions not featuring the --passwd command.
2010-03-12 18:03:02 +00:00
Werner Koch
2281024d4c
Add option GPGME_EXPORT_MODE_MINIMAL
2010-02-16 20:07:03 +00:00
Marcus Brinkmann
75116f9dab
Post-release fixup.
2010-01-11 12:42:59 +00:00
Marcus Brinkmann
20b19496a8
2010-01-11 Marcus Brinkmann <marcus@g10code.de>
...
Release 1.3.0.
2010-01-11 12:30:22 +00:00
Werner Koch
97c5d4d312
Add an API to change passphrases. Currently only implemented for
...
GPGSM. Requires GnuPG 2.1
2010-01-05 17:36:53 +00:00
Marcus Brinkmann
96cf17b159
2009-11-10 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Activate UIServer if FD passing is enabled and
Assuan is available.
m4/
2009-11-10 Marcus Brinkmann <marcus@g10code.de>
* libassuan.m4: Fix LIBASSUAN_VERSION.
src/
2009-11-10 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (uiserver_components): New variable.
(main_sources): Add it.
* ops.h, key.c (_gpgme_key_append_name): Take CONVERT argument,
implement it. Adjust callers.
(gpgme_key_from_uid): New function.
* gpgme.h.in (gpgme_protocol_t): Add GPGME_PROTOCOL_DEFAULT.
(gpgme_encrypt_flags_t): Add GPGME_ENCRYPT_PREPARE,
GPGME_ENCRYPT_EXPECT_SIGN.
(gpgme_set_sub_protocol, gpgme_key_from_uid): New functions.
* libgpgme.vers, gpgme.def: Add new functions.
* gpgme.c (gpgme_set_protocol): Add UIServer protocol.
(gpgme_set_sub_protocol): New function.
(gpgme_get_protocol_name): Add UIServer and default protocol.
* assuan-support.c: Return correct error values, implement
socketpair for POSIX.
* priv-io.h, posix-io.c, w32-io.c, w32-glib-io.c,
w32-qt-io.cpp (_gpgme_io_spawn): Add ATFORK and ATFORKVALUE
arguments. Implement it for POSIX. Adjust all callers.
* engine.h, engine-backend.h (_gpgme_engine_set_protocol)
(_gpgme_engine_op_decrypt_verify): New prototypes. Adjust all
users.
* engine.c (engine_ops, gpgme_get_engine_info): Add UIServer
engine.
(_gpgme_engine_set_protocol, _gpgme_engine_op_decrypt_verify): New
function.
* decrypt-verify.c (decrypt_verify_start): Call
_gpgme_engine_op_decrypt_verify.
* util.h, posix-util.c,
w32-util.c (_gpgme_get_uiserver_socket_path): New function.
* engine-gpgsm.c (gpgsm_set_fd): Fix _gpgme_io_pipe invocation.
* gpgme-tool.c: Some support for UIServer protocol.
* engine-uiserver.c: New file.
2009-11-10 09:07:19 +00:00
Marcus Brinkmann
a6f3857128
2009-10-22 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: Add support for G13.
src/
2009-10-22 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am: Remove @NETLIBS@ from LIBADDs.
(g13_components): New variable.
(main_sources): Add $(g13_components).
* g13.c, engine-g13.c: New files.
* engine.c (engine_ops): Check for assuan for assuan engine, add
g13 engine.
* util.h (_gpgme_get_g13_path, _gpgme_encode_percent_string): New
prototypes.
* conversion.c (_gpgme_encode_percent_string): New function.
* gpgme.h.in (gpgme_protocol_t): Add GPGME_PROTOCOL_G13.
(struct _gpgme_op_g13_result, gpgme_g13_result_t): New types.
(gpgme_op_g13_mount): New function.
* gpgme.def, libgpgme.vers: Add gpgme_op_g13_mount.
* gpgme.c (gpgme_set_protocol): Allow GPGME_PROTOCOL_G13.
(gpgme_get_protocol_name): Add GPGME_PROTOCOL_G13.
* posix-util.c (_gpgme_get_g13_path): New function.
* w32-util.c (_gpgme_get_g13_path): New function.
* engine-backend.h (_gpgme_engine_ops_g13): New declaration.
2009-10-22 16:44:07 +00:00
Marcus Brinkmann
ba99f16240
Fix version number.
2009-10-20 15:55:01 +00:00
Marcus Brinkmann
890e8b5955
Add item on libassuan.
2009-10-20 15:54:34 +00:00
Werner Koch
0fcf3ee915
Fix detection of invalid signer keys.
...
Support the new INV_SGNR status code.
2009-08-06 17:17:18 +00:00
Marcus Brinkmann
b207a32d4d
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
Released GPGME 1.2.0.
2009-06-19 02:04:24 +00:00
Marcus Brinkmann
abb000da8e
2009-06-18 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac (my_version): Set to 1.2.0.
(LIBGPGME_LT_CURRENT, LIBGPGME_LT_AGE): Bump.
(LIBGPGME_LT_REVISION): Reset.
2009-06-18 17:16:47 +00:00
Werner Koch
bebd9cbe29
Add support for gpg --fetch-keys.
2009-06-16 15:42:37 +00:00
Marcus Brinkmann
3320cc1742
doc/
...
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Result Management): New section.
src/
2009-06-16 Marcus Brinkmann <marcus@g10code.de>
* gpgme.c (result_ref_lock): New global variable.
(gpgme_result_ref, gpgme_result_unref): use it.
2009-06-16 14:43:38 +00:00
Werner Koch
b872605941
Add new functions to import and export keys specified by gpgme_key_t.
...
Allow exporting keys to a keyserver.
2009-06-16 11:42:21 +00:00
Werner Koch
caf36ce1ce
Add gpgme_io_write and gpgme_io_read.
...
Minor cleanups.
2009-06-09 16:01:02 +00:00
Marcus Brinkmann
bdb7bcf938
doc/
...
2009-05-28 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Library Version Check): Document selftest error.
(Creating Contexts): Likewise.
src/
2009-05-28 Marcus Brinkmann <marcus@g10code.de>
* 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.
2009-05-28 15:16:01 +00:00
Marcus Brinkmann
2c5d801fc4
doc/
...
2009-05-18 Marcus Brinkmann <marcus@g10code.de>
* gpgme.texi (Encrypting a Plaintext): Document
GPGME_ENCRYPT_NO_ENCRYPT_TO.
src/
2009-05-18 Marcus Brinkmann <marcus@g10code.de>
* 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-18 17:38:31 +00:00
Werner Koch
aceb60d4dd
Add GPGME_KEYLIST_MODE_EPHEMERAL.
2009-03-18 11:19:29 +00:00
Werner Koch
f0dccac380
Chnaged the op-assuan interface.
2009-02-24 15:13:01 +00:00
Werner Koch
259cbefd5c
Provide inforation about smartcards.
2009-02-04 09:51:43 +00:00
Werner Koch
d951cb713f
First take on the low-level assuan interface.
2009-01-26 10:21:10 +00:00
Marcus Brinkmann
21eaf417dc
2008-12-08 Marcus Brinkmann <marcus@g10code.de>
...
Release GPGME 1.1.8.
* configure.ac: Bump API revision.
2008-12-08 19:28:36 +00:00
Werner Koch
92394f92d4
Fix SIGPIPE ignoring regression.
...
Fix unsupported algorithm detection.
2008-11-18 11:12:36 +00:00
Marcus Brinkmann
759d969528
Post-release changes.
2008-10-17 21:03:00 +00:00
Marcus Brinkmann
166a5593ad
2008-10-17 Marcus Brinkmann <marcus@g10code.com>
...
Release GPGME 1.1.7.
* configure.ac (LIBGPGME_LT_REVISION): Bump for release.
2008-10-17 18:57:49 +00:00
Marcus Brinkmann
67ae7de4c5
Add gpgme_cancel_async
2008-06-27 16:08:35 +00:00
Werner Koch
f54ea0e32c
Include the GnuPG UI Server specification.
...
Change the license of the manual to GPLv3+.
2008-06-04 14:14:38 +00:00
Werner Koch
b72c001283
Support --locate-keys feature of gpg.
2008-05-07 15:41:14 +00:00
Marcus Brinkmann
ef430d7828
2008-01-28 Marcus Brinkmann <marcus@g10code.de>
...
* gpgme.texi: Document that data encoding affects some output data
objects now.
2008-01-28 19:41:26 +00:00
Marcus Brinkmann
afbb4ca9d6
Post-release dance.
2008-01-04 15:10:49 +00:00
Marcus Brinkmann
64502919a1
Prepare for release.
2008-01-04 14:34:08 +00:00
Werner Koch
4dbd2fbdfe
New API gpgme_op_getauditlog.
2007-11-22 16:44:37 +00:00
Werner Koch
496fa48ffd
Bumbed version number (still svn, though)
2007-09-17 13:24:14 +00:00
Werner Koch
bc82a66514
Add new signature_t member chain_model.
2007-08-07 15:21:50 +00:00
Marcus Brinkmann
4718b14e18
Post-release fixup.
2007-07-09 13:45:06 +00:00
Marcus Brinkmann
3ceac8604d
2007-07-09 Marcus Brinkmann <marcus@g10code.de>
...
Released 1.1.5.
* configure.ac (LIBGPGME_LT_REVISION): Bump for release.
2007-07-09 13:07:51 +00:00
Werner Koch
c8a3156192
Post release updates
2007-03-05 11:18:47 +00:00
Werner Koch
a103cf2bf1
Preparing a new release
2007-03-05 10:56:31 +00:00
Werner Koch
1786019d68
Detect and bailo out on double plaintext messages.
2007-02-26 10:36:08 +00:00