aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-02Factored common gpgconf constants outWerner Koch1-18/+9
Fixed W32 compare_filenames
2007-07-17Typo fixes.Werner Koch1-0/+12
Made --default-key work for gpgsm Add --default-key and --encrypt-to to gpgconf.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-17/+57
2007-06-19Made percent_escape more general.Werner Koch1-7/+8
Added regression tests support to jnlib. W32 changes.
2007-06-182007-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5/+23
* gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE. (copy_file): In error case, save/restore errno. Close SRC and DST. (gc_component_change_options): Catch error from unlink(). Remove target backup file before rename().
2007-06-152007-06-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-22/+73
* gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function. (change_options_file, change_options_program) [HAVE_W32_SYSTEM]: Copy backup file. (gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace. (gc_process_gpgconf_conf): Rename fname to fname_arg and fname_buffer to fname, initialize fname with fname_arg, discarding const qualifier.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-1/+7
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-1/+6
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-04-13g10/ and sm/Werner Koch1-1/+1
* call-agent.c (start_agent): Don't use log_error when using the fallback hack to start the agent. This is bug 782. scripts/ * mail-to-translators: Copied from 1.4. and adjusted. tools/ * gpgconf-comp.c: Allow changing of --allow-mark-trusted. * gpg-connect-agent.c (main): New option --decode and commands decode and undecode. (read_and_print_response): Implement option.
2007-03-20Make gpgconf aware of --p12-charset.Werner Koch1-0/+3
2007-03-06Support for a global gpgconf configuration file.Werner Koch1-115/+540
2006-11-21No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch1-1/+1
good chance that gpg2 will now work. Other cleanups. Updated gettext.
2006-11-20Made some PIN pads work.Werner Koch1-1/+1
Some cleanups for 64 bit CPUs.
2006-10-23.Werner Koch1-0/+3
2006-06-20Updated FSF's address.Werner Koch1-17/+19
2006-05-23g10/ does build again.Werner Koch1-28/+0
2006-02-06.Werner Koch1-0/+3
2005-11-28Preparing an interim releaseWerner Koch1-2/+5
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-1/+1
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2005-04-21* configure.ac: Do not build gpg by default.Werner Koch1-0/+6
* gpgsm.c: New options --{enable,disable}-trusted-cert-crl-check. * certchain.c (gpgsm_validate_chain): Make use of it. * certchain.c (gpgsm_validate_chain): Check revocations even for expired certificates. This is required because on signature verification an expired key is fine whereas a revoked one is not. * gpgconf-comp.c: Add gpgsm option disable-trusted-cert-crl-check.
2005-03-09Fixed description for dirmngr:honor-http-proxyWerner Koch1-1/+1
2005-03-09Add honor-http-proxy.Werner Koch1-0/+3
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch1-0/+6
* Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch1-0/+18
2004-12-13VArious hacks to make it at least build under W32.Werner Koch1-1/+1
* stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
2004-11-24Add dirmngr options to gpgconf and updated the DE translationWerner Koch1-0/+3
2004-11-24Add --ignore-http-dp andWerner Koch1-0/+6
--ignore-ldap-dp.
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch1-1/+23
* gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
2004-10-01Made all strings for --log-file read the same.Werner Koch1-4/+4
2004-10-01* gpgconf-comp.c (my_dgettext): Also switch codeset and directoryWerner Koch1-4/+11
for the other used domains (i.e. dirmngr). * gpgconf.c (main): Fixed translation markers.
2004-09-29* gpgsm.texi (Configuration Options): Add --log-file.Werner Koch1-29/+43
* gpgconf-comp.c: Made the entries fro GROUPs translatable. Include i18n.h. (my_dgettext): Hack to use the gnupg2 domain.
2004-06-14* xreadline.c: New. Based on the iobuf_read_line function.Werner Koch1-36/+26
* no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New. * gpgconf-comp.c (retrieve_options_from_program) (retrieve_options_from_file, change_options_file) (change_options_program, gc_component_change_options): Replaced getline by read_line and test for allocation failure.
2004-05-212004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5/+1
* gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its only option "max-replies" into LDAP group. (gc_component): Change description of dirmngr to "Directory Manager".
2004-05-212004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+12
* gpgconf-comp.c (gc_component_change_options): Move the per-process backup file into a standard location.
2004-05-03* gpg-agent.c: Remove help texts for options lile --lc-ctype.Werner Koch1-0/+3
(main): New option --allow-mark-trusted. * trustlist.c (agent_marktrusted): Use it here. * gpg-agent.texi (Agent Options): Add --allow-mark-trusted. * gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.
2004-04-30Allow changing --log-fileWerner Koch1-1/+1
2004-04-30Added more runtime flags for the gpg-agentWerner Koch1-4/+4
backend.
2004-04-292004-04-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* gpgconf-comp.c (change_options_program): Turn on utf8-strings in the gpgconf specific part of the config file for the GnuPG backend.
2004-04-28Add --ocsp-signer for the dirmngr backend.Werner Koch1-0/+3
2004-04-202004-04-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* gpgconf-comp.c (gc_options_gpg_agent): Change type of ignore-cache-for-signing option to GC_ARG_TYPE_NONE.
2004-04-07(my_dgettext): Switch the codeset once to utf-8.Werner Koch1-2/+17
Allow building with out NLS.
2004-04-05Typo fixWerner Koch1-1/+1
2004-03-23Add dirmngr:allow-ocspWerner Koch1-0/+3
2004-03-232004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+4
* gpgconf-comp.c (gc_options_dirmngr): Set GC_OPT_FLAG_ARG_OPT for "LDAP Server". (change_options_file): Remove assertion that tests that this flag is not present. Handle an empty string in OPTION->new_value.
2004-03-23Make it workWerner Koch1-4/+11
2004-03-23add missing commaWerner Koch1-1/+1
2004-03-23(gc_options_gpg): New.Werner Koch1-0/+50
(gc_component_t, gc_component): Add GC_BACKEND_GPG.
2004-03-232004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+4
* gpgconf-comp.c (gc_flag): Add missing flags.
2004-03-232004-03-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-9/+64
* gpgconf-comp.c: Include <signal.h>. (gc_backend): Add new member runtime_change. (gpg_agent_runtime_change): New function. (gc_component_change_options): New variable runtime. Initialize it. If an option is changed that has the GC_OPT_FLAG_RUNTIME bit set, also set the corresponding runtime variable. Finally, call the runtime_change callback of the backend if needed.