| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-25 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c (struct spawn_fd_item_s): Add new members.
(HANDLE_TRANSLATION): New macro.
(pipe_connect_gpgme): Adjust caller of _gpgme_io_spawn.
[HANDLE_TRANSLATION]: Return translated handles.
gpgme/
2008-06-25 Marcus Brinkmann <[email protected]>
* gpgme-w32spawn.c: New file.
* Makefile.am (libexec_PROGRAMS) [HAVE_W32_SYSTEM]: New variable
with gpgme-w32spawn.
* engine-gpgsm.c (gpgsm_new): Use server translated handles.
(gpgsm_set_locale): Return early if locale value is NULL.
* util.h (_gpgme_mkstemp)
(_gpgme_get_w32spawn_path) [HAVE_W32_SYSTEM]: New function
prototypes.
* w32-util.c: Include <stdint.h>, <sys/stat.h> and <unistd.h>.
(letters, mkstemp, _gpgme_mkstemp, _gpgme_get_w32spawn_path): New
functions.
* rungpg.c (gpg_decrypt, gpg_encrypt, gpg_encrypt_sign)
(gpg_genkey, gpg_import, gpg_verify, gpg_sign): Pass data over
special filename FD rather than stdin.
(struct arg_and_data_s): Add member ARG_LOCP.
(struct fd_data_map_s): Add member ARG_LOC.
(struct engine_gpg): Add member ARG_LOC to status and colon.
(_add_arg, add_arg_with_locp): New function.
(add_arg_ext): Reimplement in terms of _add_arg.
(gpg_new): Remember argument location for status FD.
(build_argv): Set argument location if requested. Also set
argument location of fd_data_map for data items.
(start): Adjust caller of _gpgme_io_spawn.
* priv-io.h (struct spawn_fd_item_s): Add members peer_name and
arg_loc.
(_gpgme_io_spawn): Remove parent fd list argument.
* posix-io.c (get_max_fds): New function.
(_gpgme_io_dup): Add tracing.
(_gpgme_io_spawn): Remove parent fd list. Change meaning of child
fd list to contain all child fds that should be inherited. Close
all other file descriptors after fork.
* w32-io.c, w32-glib-io.c, w32-qt-io.c(_gpgme_io_spawn): Remove
parent fd list. Change meaning of child fd list to contain all
child fds that should be inherited. Do not inherit any file
descriptors, but DuplicateHandle them. Spawn process through
wrapper process. Provide wrapper process with a temporary file
containing handle translation data. Return translated handle
names.
* w32-io.c (reader): Add more tracing output.
(_gpgme_io_read): Likewise.
* engine-gpgconf.c (gpgconf_read): Adjust caller of
_gpgme_io_spawn.
* version.c (_gpgme_get_program_version): Likewise.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Update gpgconf test.
|
|
|
|
|
| |
Fix a parsing bug in gpgconf interface.
|
| |
|
|
|
|
|
| |
Change the license of the manual to GPLv3+.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* w32-qt-io.cpp, kdpipeiodevice.cpp: New versions from Frank
Osterfeld, implement blocking select.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-11 Marcus Brinkmann <[email protected]>
* gpgme.texi (File Based Data Buffers): Document the need for
blocking operations.
(Callback Based Data Buffers): Likewise.
gpgme/
2008-03-11 Marcus Brinkmann <[email protected]>
* data.c (gpgme_data_read, gpgme_data_write): Retry on EINTR.
|
|
|
|
|
|
| |
* key.c (_gpgme_key_add_sig): Terminate UID in case SRC is NULL.
Reported by Marc Mutz.
|
|
|
|
|
|
| |
* decrypt.c (release_op_data): Release OPD->result.recipients.
* encrypt.c (release_op_data): Release invalid_recipient.
|
|
|
|
|
|
|
| |
* gpgme.texi (Library Version Check): Rename snippet function to
init_gpgme.
(I/O Callback Example): Call it here.
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_read): Fix end-of-line handline.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version by Frank Osterfeld, fixes race
condition.
|
|
|
|
|
| |
* gpg/Makefile.am (DISTCLEANFILES): Add pubring.kbx~.
|
|
|
|
|
|
| |
* gpgme.texi: Document that data encoding affects some output data
objects now.
|
|
|
|
|
|
|
|
| |
* engine-gpgsm.c (map_input_enc): Rename to ...
(map_data_enc): ... this. Also change all callers.
(gpgsm_encrypt, gpgsm_export, gpgsm_export_ext, gpgsm_genkey)
(gpgsm_sign): Set encoding for output.
|
| |
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_config_load_cb): Fix program_name
field.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
| |
* gpg/t-gpgconf.c (main): Allow for dirmngr not to be available.
|
|
|
|
|
| |
* gpg/Makefile.am (./gpg-agent.conf): Correct pinentry path.
|
|
|
|
|
|
|
|
| |
* gpg/pinentry: New file.
* gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf
(./gpg-agent.conf): New target.
(EXTRA_DIST): Add pinentry.
|
|
|
|
|
|
| |
* engine-gpgconf.c (gpgconf_config_load_cb2): Handle the flag
NO_ARG_DESC.
|
|
|
|
|
| |
* gpg/t-gpgconf.c (main): Exit early if compiled without gpgconf.
|
|
|
|
|
|
| |
* assuan-pipe-connect.c (_gpgme_io_pipe)
(_gpgme_io_spawn) [_ASSUAN_IN_GPGME_BUILD_ASSUAN]: Add prototypes
|
| |
|
|
|
|
|
| |
* gpg/Makefile.am (CLEANFILES): Add pubring.kbx and dirmngr.conf.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Support gpgconf.
gpgme/
2008-01-04 Marcus Brinkmann <[email protected]>
* Makefile.am (gpgconf_components): New variable.
(main_sources): Add gpgconf.c.
* gpgme.h (gpgme_protocol_t): New protocol GPGME_PROTOCOL_GPGCONF.
(gpgme_conf_level_t, gpgme_conf_type_t, gpgme_conf_arg_t)
(gpgme_conf_opt_t, gpgme_conf_comp_t, gpgme_conf_arg_new)
(gpgme_conf_arg_release, gpgme_conf_opt_change)
(gpgme_conf_release, gpgme_op_conf_load, gpgme_op_conf_save): New
types.
* gpgconf.c, engine-gpgconf.c: New files.
* engine.h: (_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New prototypes.
* op-support.c (_gpgme_op_reset): Ignore not implemented locale
function.
* posix-util.c (_gpgme_get_gpgconf_path): New function.
* w32-util.c (_gpgme_get_gpgconf_path): New function.
* engine-gpgsm.c:
(_gpgme_engine_ops_gpgsm): Add stubs for conf_load and conf_save.
* rungpg.c:
(_gpgme_engine_ops_gpg): Add stubs for conf_load and conf_save.
* gpgme.def: Add new gpgconf related interfaces.
* libgpgme.vers: Likewise.
* util.h (_gpgme_get_gpgconf_path): New prototype.
* gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_GPGCONF.
* engine-backend.h (_gpgme_engine_ops_gpgconf): New prototype.
(struct engine_ops): Add members for conf_load and conf_save.
* engine.c (engine_ops): Add _gpgme_engine_ops_gpgconf.
(_gpgme_engine_op_conf_load,
(_gpgme_engine_op_conf_save): New functions.
(gpgme_get_engine_info): Allow protocol GPGME_PROTOCOL_GPGCONF.
tests/
2008-01-04 Marcus Brinkmann <[email protected]>
* Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpgsm/Makefile.am (TESTS_ENVIRONMENT): Use absolute path for
GNUPGHOME.
* gpg/Makefile.am (TESTS): Add t-gpgconf.
t-gpgconf.c: New file.
|
|
|
|
|
|
|
| |
* w32-util.c (_gpgme_get_gpg_path, _gpgme_get_gpgsm_path): Search
for installation directory. Remove old fallback default.
(find_program_in_inst_dir): New function.
|
|
|
|
|
| |
Pass HTML glag to test program.
|
|
|
|
|
| |
* gpgsm/t-verify.c (show_auditlog): Check for GPG_ERR_ASS_UNKNOWN_CMD.
|
| |
|
| |
|
|
|
|
|
| |
Changed address paragraph in top comment.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld.
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp: New version from Frank Osterfeld and Marc
Mutz.
|
|
|
|
|
|
| |
* kdpipeiodevice.cpp, w32-qt-io.cpp: New versions from Frank
Osterfeld.
|
|
|
|
|
|
| |
* kdpipeiodevice.h, kdpipeiodevice.cpp, kdpipeiodevice.moc,
w32-qt-io.cpp: New versions from Frank Osterfeld.
|