aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-21scd: Improve --enable-pinpad-varlen.Werner Koch1-0/+4
* tools/gpgconf-comp.c (gc_options_scdaemon): Add enable-pinpad-varlen. * scd/apdu.c (check_pcsc_pinpad): Detect SPRx32 reader. Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit 7bde2bf3b0ddb5d3515a44879e1a7ddb581a5c0b)
2013-07-03agent: Make --allow-mark-trusted the default.Werner Koch1-2/+2
* agent/gpg-agent.c (opts, main): Add option --no-allow-mark-trusted. Put this option into the gpgconf-list. (main): Enable opt.allow_mark_trusted by default. * tools/gpgconf-comp.c (gc_options_gpg_agent): Replace allow-mark-trusted by no-allow-mark-trusted. * agent/trustlist.c (agent_marktrusted): Always set the "relax" flag. -- These changes have been in effect for the Gpg4win Windows version since 2011-01-24 and thus first released with Gpg4win 2.1.0. Given the current state of PKIX it does not make any sense to lure the Unix user into false security by making it harder to trust self-signed or CAcert certificates. Signed-off-by: Werner Koch <[email protected]>
2013-07-03ssh: Add support for Putty.Werner Koch1-1/+7
* agent/gpg-agent.c [W32]: Include Several Windows header. (opts): Change help text for enable-ssh-support. (opts, main): Add option --enable-putty-support (putty_support, PUTTY_IPC_MAGIC, PUTTY_IPC_MAXLEN): New for W32. (agent_init_default_ctrl): Add and asssert call. (putty_message_proc, putty_message_thread): New. (handle_connections) [W32]: Start putty message thread. * common/sysutils.c (w32_get_user_sid): New for W32 only * tools/gpgconf-comp.c (gc_options_gpg_agent): Add --enable-ssh-support and --enable-putty-support. Make the configuration group visible at basic level. * agent/command-ssh.c (serve_mmapped_ssh_request): New for W32 only. -- This patch enables support for Putty. It has been tested with Putty 0.62 using an Unix created ssh key copied to the private-keys-v1.d directory on Windows and with a manually crafted sshcontrol file. It also works with a smartcard key. May thanks to gniibe who implemented a proxy in Python to test the putty/gpg-agent communication. Signed-off-by: Werner Koch <[email protected]>
2013-02-08scd: Rename 'keypad' to 'pinpad'.NIIBE Yutaka1-2/+2
* NEWS: Mention scd changes. * agent/divert-scd.c (getpin_cb): Change message. * agent/call-scd.c (inq_needpin): Change the protocol to POPUPPINPADPROMPT and DISMISSPINPADPROMPT. * scd/command.c (pin_cb): Likewise. * scd/apdu.c (struct reader_table_s): Rename member functions. (check_pcsc_pinpad, pcsc_pinpad_verify, pcsc_pinpad_modify, check_ccid_pinpad, ccid_pinpad_operation, apdu_check_pinpad apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/apdu.h (SW_HOST_NO_PINPAD, apdu_check_pinpad) (apdu_pinpad_verify, apdu_pinpad_modify): Rename. * scd/iso7816.h (iso7816_check_pinpad): Rename. * scd/iso7816.c (map_sw): Use SW_HOST_NO_PINPAD. (iso7816_check_pinpad): Rename. (iso7816_verify_kp, iso7816_change_reference_data_kp): Follow the change. * scd/ccid-driver.h (CCID_DRIVER_ERR_NO_PINPAD): Rename. * scd/ccid-driver.c (ccid_transceive_secure): Use it. * scd/app-dinsig.c (verify_pin): Follow the change. * scd/app-nks.c (verify_pin): Follow the change. * scd/app-openpgp.c (check_pinpad_request): Rename. (parse_login_data, verify_a_chv, verify_chv3, do_change_pin): Follow the change. * scd/scdaemon.c (oDisablePinpad, oEnablePinpadVarlen): Rename. * scd/scdaemon.h (opt): Rename to disable_pinpad, enable_pinpad_varlen. * tools/gpgconf-comp.c (gc_options_scdaemon): Rename to disable-pinpad.
2011-08-04Removed some set but unused variables.Werner Koch1-80/+76
2010-08-23FixWerner Koch1-5/+5
2009-04-01Import/export of pkcs#12 now uses the gpg-agent directly.Werner Koch1-1/+1
Removed duplicated code (percent unescaping).
2009-03-03Add --reload command to gpgconf.Werner Koch1-4/+51
Fix a problem in exechelp.c Get ready for a release.
2009-02-27Fix a gpg2 problem with removed cards.Werner Koch1-13/+35
Allow runtime conf change for scdaemon. New commands for scdaemon.
2009-01-28Make --allow-admin the default.Werner Koch1-2/+2
2008-12-05Add option --card-timeout.Werner Koch1-4/+4
Add a new attribyte to app-openpgp.c Fix two portability bugs. Have gpg-connect-agent autostart gpg-agent on W32.
2008-08-062008-08-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* gpgconf-comp.c (gc_options_gpgsm): Change type of keyserver option to GC_ARG_TYPE_LDAP_SERVER.
2008-08-06Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+8
* gpgconf-comp.c (retrieve_options_from_file): Transfer the NO_CHANGE flag from the file name option to the list option.
2008-06-19Add the group option to gpgconf and define the new type "alias list".Werner Koch1-0/+8
2008-06-12sm/Marcus Brinkmann1-0/+3
2008-06-12 Marcus Brinkmann <[email protected]> * gpgsm.h (struct keyserver_spec): New struct. (opt): Add member keyserver. * gpgsm.c (keyserver_list_free, parse_keyserver_line): New functions. (main): Implement --keyserver option. * call-dirmngr.c (prepare_dirmngr): Send LDAPSERVER commands. tools/ 2008-06-12 Marcus Brinkmann <[email protected]> * gpgconf-comp.c (gc_options_gpgsm): Add option keyserver.
2008-05-262008-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-86/+86
* gpgconf-comp.c: Replace pathname by filename everywhere.
2008-05-26doc/Marcus Brinkmann1-16/+16
2008-05-26 Marcus Brinkmann <[email protected]> * tools.texi (Invoking gpgconf): Document --list-dirs. tools/ 2008-05-26 Marcus Brinkmann <[email protected]> * gpgconf.c (enum cmd_and_opt_values): Add aListDirs. (opts): Add aListDirs option. (main): Handle aListDirs. * gpgconf.h (gc_percent_escape): New declaration. * gpgconf-comp.c (my_percent_escape): Make non-static and rename to ... (gc_percent_escape): ... this. Change all callers.
2008-05-26Make --runtime option of gpgconf under W32 work.Werner Koch1-0/+17
2008-05-19doc/Marcus Brinkmann1-104/+147
2008-05-20 Marcus Brinkmann <[email protected]> * tools.texi (Invoking gpgconf): Add --dry-run and --check-options. (Checking programs): Document --check-options. tools/ 2008-05-20 Marcus Brinkmann <[email protected]> * gpgconf.h (gc_component_check_programs): Rename to ... (gc_check_programs): ... this. (gc_component_change_options): Add argument OUT. (gc_component_check_options): New function. * gpgconf.c (enum cmd_and_opt_values): New option aCheckOptions. (opts): Add new option aCheckOptions (aka --check-options). (main): Handle new option aCheckOptions. * gpgconf-comp.c (gc_component_check_programs): Rename to ... (gc_check_programs): ... this. Refactor core of it to ... (gc_component_check_options): ... this new function. (gc_component_change_options): Add new argument OUT. Externally verify all changes. Implement option --dry-run.
2008-05-09Updated German translation.Werner Koch1-1/+21
Fix in gpgconf for W32.
2008-04-08Enhanced --auto-key-locate.Werner Koch1-0/+3
2008-02-272008-02-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+17
* gpgconf-comp.c (option_check_validity): For now, error out on empty strings. (enum): Add GC_ARG_TYPE_PUB_KEY and GC_ARG_TYPE_SEC_KEY.
2008-02-19Improve certificate chain construction.Werner Koch1-0/+3
Extend PKITS framework
2008-02-012008-02-01 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* gpgconf-comp.c (gc_component_list_options): Fix memcpy. Reported by Marc Mutz.
2008-01-22translation fixesWerner Koch1-3/+3
2008-01-172008-01-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+12
* gpgconf-comp.c (change_options_program): Strip duplicated utf8-strings entries for gnupg backend. Don't create them either.
2007-12-102007-12-10 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-7/+27
* gpgconf-comp.c (gc_component_list_options): Fix up expert level of group.
2007-12-042007-12-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+1
* gpgconf-comp.c (gc_component_list_components): Do not print a trailing semi-colon to ensure forward compatibility, as this would indicate another empty field. (gc_process_gpgconf_conf): Likewise.
2007-12-032007-12-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* gpgconf-comp.c (gc_component_list_components): Do not print a trailing semi-colon to ensure forward compatibility, as this would indicate another empty field.
2007-10-23New option --list-config for gpgconf.Werner Koch1-11/+44
2007-10-23Fixed wrong entry in the gpg-agent table.Werner Koch1-1/+1
2007-10-22Replace popen by our own code to help with Windows long files (e.g. thoseWerner Koch1-15/+39
with a space in the name).
2007-10-19Fixed bug 842 (segv in gpgconf)Werner Koch1-1/+1
2007-09-14Minor translation change.Werner Koch1-1/+1
2007-08-31Make gpgconf --list-components also print the name of the executable program.Werner Koch1-7/+34
2007-08-29Extended the --check-program output: Error messages are now inlcued in anWerner Koch1-11/+169
easy parsable format.
2007-08-29New command --check-programs for gpgconf.Werner Koch1-9/+100
2007-08-28Add more passphrase policy rules.Werner Koch1-0/+8
(--max-passphrase-days).
2007-08-27Implemented more gpg-agen options to support certain passphrase policies.Werner Koch1-6/+20
New tool gpg-check-pattern.
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