aboutsummaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-0515-132/+132
| | | | | | | | | | | | | | | | | | | The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
* Print warning for arguments not considered an option.Werner Koch2012-03-273-0/+32
| | | | | | | | | | | | | | | | | | GnuPG requires that options are given before other arguments. This can sometimes be confusing. We now print a warning if we found an argument looking alike a long option without being preceded by the stop option. This is bug#1343. * common/argparse.h (ARGPARSE_FLAG_STOP_SEEN): New. * common/argparse.c (arg_parse): Set new flag. * g10/gpg.c (main): Print the warning. * agent/gpg-agent.c (main): Ditto. * dirmngr/dirmngr.c (main): Ditto. * g13/g13.c (main): Ditto. * scd/scdaemon.c (main): Ditto. * sm/gpgsm.c (main): Ditto. * tools/gpg-connect-agent.c (main): Ditto. * tools/gpgconf.c (main): Ditto.
* common: Add a global variable to for the default error source.Werner Koch2012-02-065-25/+31
| | | | | | | | | | | | | | For the shared code parts it is cumbersome to pass an error sourse variable to each function. Its value is always a constant for a given binary and thus a global variable makes things a lot easier than the former macro stuff. * common/init.c (default_errsource): New global var. (init_common_subsystems): Rename to _init_common_subsystems. Set DEFAULT_ERRSOURCE. * common/init.h: Assert value of GPG_ERR_SOURCE_DEFAULT. (init_common_subsystems): New macro. * common/util.h (default_errsource): Add declaration. * kbx/keybox-defs.h: Add some GPG_ERR_SOURCE_DEFAULT trickery.
* gpg-connect-tool: Take the string "true" as a true condition.Werner Koch2012-01-271-1/+8
| | | | | * tools/gpg-connect-agent.c (main): Handle strings "true" and "yes" in conditions as expected.
* Port to npth.Marcus Brinkmann2012-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | * configure.ac: Don't check for PTH but for NPTH. (AH_BOTTOM): Remove PTH_SYSCALL_SOFT. (have_pth): Rename to ... (have_npth): ... this. (USE_GNU_NPTH): Rename to ... (USE_GNU_PTH): ... this. * m4/npth.m4: New file. * agent/Makefile.am, agent/cache.c, agent/call-pinentry.c, agent/call-scd.c, agent/findkey.c, agent/gpg-agent.c, agent/trustlist.c, common/Makefile.am, common/estream.c, common/exechelp-posix.c, common/exechelp-w32.c, common/exechelp-w32ce.c, common/http.c, common/init.c, common/sysutils.c, dirmngr/Makefile.am, dirmngr/crlfetch.c, dirmngr/dirmngr.c, dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c, dirmngr/ldap-wrapper.c, dirmngr/ldap.c, g13/Makefile.am, g13/call-gpg.c, g13/g13.c, g13/runner.c, scd/Makefile.am, scd/apdu.c, scd/app.c, scd/ccid-driver.c, scd/command.c, scd/scdaemon.c, tools/Makefile.am: Port to npth.
* agent: Pass comment lines from scd verbatim thru gpg-agent.Werner Koch2011-12-141-71/+85
| | | | | | * agent/call-scd.c (pass_status_thru): Pass comment lines verbatim. * tools/gpg-connect-agent.c (help_cmd_p): New. (main): Treat an "SCD HELP" the same as "HELP".
* Generate the ChangeLog from commit logs.Werner Koch2011-12-012-2/+13
| | | | | | | | | | | | | * scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * doc/HACKING: Describe the ChangeLog policy * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011.
* Mark component descriptions for translation.Werner Koch2011-08-262-6/+11
|
* Require libgcrypt 1.5Werner Koch2011-03-082-0/+7
| | | | | | | | Without Libgcrypt 1.5 is was not possible to use ECC keys. ECC is major new feature and thus it does not make sense to allow building with an older Libgcrypt without supporting ECC. Also fixed a few missing prototypes.
* Fix faulty gcc warningsWerner Koch2011-03-031-0/+1
|
* Lock scdaemon to CCID if once found.Werner Koch2011-02-234-95/+167
| | | | | | | | This solves a problem where ccid was used, the card unplugged and then scdaemon tries to find a new (plugged in) reader and thus will eventually try PC/SC over and over again. Also added an explicit --kill command to gpgconf.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-0411-85/+82
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Update copyright yearWerner Koch2011-02-032-38/+42
| | | | Nuked some trailing spaces.
* Tweaks for gpgconf.Werner Koch2010-12-142-3/+26
| | | | | Fixed dirmngr bug 1010.
* s/AES/AES128/ in diagnostics and --list-configWerner Koch2010-12-022-1/+12
|
* Change stack size for Wince.Werner Koch2010-11-232-0/+5
| | | | | | Allow for a longer agent atartup under wince. Print gpg output via estream.
* 2010-11-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann2010-11-172-3/+4
| | | | | | * gogconf.c: Revert accidental debug output commit.
* Honor TMPDIR.Werner Koch2010-10-272-2/+12
|
* Enable i18n for W32.Werner Koch2010-10-201-0/+3
|
* Fix a signing problem with the cardWerner Koch2010-10-181-1/+1
|
* All tests work are again workingWerner Koch2010-10-142-1/+7
|
* Some tweaks to the agent startup.Werner Koch2010-10-144-147/+21
|
* Import fixes.Werner Koch2010-10-062-5/+20
| | | | | new otion for watchgnupg
* Don't set SSH_AGENTPID_INFO.Werner Koch2010-10-052-87/+175
| | | | | | Doc fixes. Allow TCP and local sockets in watchgnupg.
* .Werner Koch2010-08-262-1/+4
|
* Changed option names.Werner Koch2010-08-254-9/+36
| | | | | Add O_BINARY for stdin and stdout.
* gpgconf does now work for Wince.Werner Koch2010-08-233-12/+35
|
* Reworked the posix and w32 exechelpers.Werner Koch2010-08-203-61/+47
|
* Add component pinentry as an easy way to figure out the defaultWerner Koch2010-08-192-5/+44
| | | | | pinentry. Also allows to test whether pinentry is installed.
* Fix regression in logging.Werner Koch2010-08-185-100/+111
| | | | | | Add a registry key to enable catch-all remote debugging for W32. Replace more stdio stuff by estream.
* Minor Makefile fixes to let it build on all platformsWerner Koch2010-08-132-6/+12
|
* Support "-" for --output.Werner Koch2010-08-112-1/+12
|
* Support logging via TCPWerner Koch2010-08-092-21/+57
|
* Add dummy options --cms and --openpgp.Werner Koch2010-08-091-1/+7
|
* Add option --nullWerner Koch2010-08-093-10/+96
|
* Some work on porting dirmngr (unfinished)Werner Koch2010-07-167-54/+325
| | | | | Ported gpgtar to W32.
* Fix a regression from 2010-06-09.Werner Koch2010-06-242-4/+10
|
* Merged Dirmngr with GnuPG.Werner Koch2010-06-091-4/+8
| | | | | A few code changes to support dirmngr.
* Add unfinished gpgtar.Werner Koch2010-06-077-10/+1744
| | | | | Collected changes and ports of bug fixes from stable.
* remove gpgtarWerner Koch2010-04-221-9/+9
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-211-1/+10
|
* common/Marcus Brinkmann2010-04-202-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-04-20 Marcus Brinkmann <[email protected]> * logging.c (do_log_ignore_arg): New helper function. (log_string): Use it to remove ugly volatile hack that causes gcc warning. (log_flush): Likewise. * sysutils.c (gnupg_unsetenv) [!HAVE_W32CE_SYSTEM]: Return something. (gnupg_setenv) [!HAVE_W32CE_SYSTEM]: Likewise. * pka.c (get_pka_info): Solve strict aliasing rule violation. * t-exechelp.c (test_close_all_fds): Use dummy variables to silence gcc warning. kbx/ 2010-04-20 Marcus Brinkmann <[email protected]> * keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include ../common/sysutils.h even then to silence gcc warning about missing declaration of gnupg_remove. tools/ 2010-04-20 Marcus Brinkmann <[email protected]> * gpgconf-comp.c (option_check_validity): Use dummy variables to silence gcc warning.
* Fixed dependencies and a syntax errorWerner Koch2010-04-142-0/+5
|
* ./autogen.sh --build-w32ce does now succeed.Werner Koch2010-04-143-7/+15
|
* Whole lot of changes to support CE.Werner Koch2010-04-141-1/+17
|
* Minor cleanupsWerner Koch2010-03-294-22/+39
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-224-4/+4
| | | | | descriptors.
* Builds again for W32.Werner Koch2010-03-152-1/+6
|
* Merged jnlib into common.Werner Koch2010-03-102-3/+7
|
* Replace use stdio by estream functions.Werner Koch2010-03-082-0/+14
|