aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Port LDAP wrapper to NPTH.Marcus Brinkmann2012-01-252-69/+177
| | | | | * agent/gpg-agent.c (handle_connections): Handle error. * dirmngr/dirmngr_ldap.c, dirmngr/ldap-wrapper-ce.c: Port to NPTH.
* Port Windows code to NPTH.Marcus Brinkmann2012-01-251-4/+4
| | | | | | | | | | * agent/gpg-agent.c (get_agent_ssh_socket_name): Use INVALID_HANDLE_VALUE instead of 0. (handle_signal) [!HAVE_W32_SYSTEM]: Don't define. (handle_connections): Port Windows code to NPTH. * dirmngr/dirmngr.c (handle_connections): Port Windows code to NPTH. * g13/g13.c (handle_connections): Port Windows code to NPTH. * scd/scdaemon.c (handle_connections): Port Windows code to NPTH.
* Port to npth.Marcus Brinkmann2012-01-258-262/+224
| | | | | | | | | | | | | | | | | | | | | * 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.
* Adapt HKP fix for fingerprint/long keyid retrievals for dirmngrDavid Shaw2012-01-101-7/+9
| | | | * dirmngr/ks-engine-hkp.c (ks_hkp_get): Use the longest valid keyid form
* Fix last change: Only set gcrypt thread callback for older versions.Marcus Brinkmann2012-01-031-2/+2
| | | | | * dirmngr/dirmngr.c, g13/g13.c: Rename FIX_GCRY_PTH_INIT to USE_GCRY_THREAD_CBS.
* Terminate csh commands with a semicolon also for dirmngr.Werner Koch2012-01-031-1/+1
| | | | * dirmngr/dirmngr.c (main): Terminate csh style output with a semicolon.
* Only set gcrypt thread callback for older version of gcrypt.Marcus Brinkmann2012-01-021-0/+8
| | | | | | | | * agent/gpg-agent.c, dirmngr/dirmngr.c, g13/g13.c, scd/scdaemon.c (USE_GCRY_THREAD_CBS): New macro, defined if GCRY_THREAD_OPTION_VERSION is 0. (fixed_gcry_pth_init) [!USE_GCRY_THREAD_CBS]: Don't define. (main) [!USE_GCRY_THREAD_CBS]: Do not install thread callbacks.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-013-1/+16
| | | | | | | | | | | | | * 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.
* Make HKP keyserver engine work again.Werner Koch2011-11-246-11/+20
| | | | | | | | | | | | | We had some debug code here which prevented it from working. The host selection code still needs a review! * ks-engine-http.c (ks_http_help): Do not print help for hkp. * ks-engine-hkp.c (ks_hkp_help): Print help only for hkp. (send_request): Remove test code. (map_host): Use xtrymalloc. * certcache.c (classify_pattern): Remove unused variable and make explicit substring search work.
* ddMarcus Brinkmann2011-06-011-0/+5
|
* Add missing LIBGCRYPT_CFLAGS for dirmngr_ldap.Marcus Brinkmann2011-06-011-1/+1
|
* Fix regression in gpg's mail address parsing.Werner Koch2011-04-252-2/+8
| | | | | | Since 2009-12-08 gpg was not able to find email addresses indicated by a leading '<'. This happened when I merged the user id classification code of gpgsm and gpg.
* Add code for explicit selection of pooled A records.Werner Koch2011-04-125-79/+437
| | | | | | | | | | | To better cope with round robin pooled A records like keys.gnupg.net we need to keep some information on unresponsive hosts etc. What we do now is to resolve the hostnames, remember them and select a random one. If a host is dead it will be marked and a different one selected. This is intended to solve the problem of long timeouts due to unresponsive hosts. The code is not yet finished but selection works.
* Fix dirmngr crash (bug#1300)Werner Koch2011-02-232-1/+9
|
* Add ECC import regression tests and fixed a regression.Werner Koch2011-02-102-1/+80
| | | | | | The import test imports the keys as needed and because they are passphrase protected we now need a pinentry script to convey the passphrase to gpg-agent.
* Add framework to print keyserver engine informationWerner Koch2011-02-0910-5/+179
|
* Support key fetching using HTTP.Werner Koch2011-02-096-8/+164
| | | | | | A simple test case is: gpg2 --fetch-key http://werner.eifelkommune.de/mykey.asc
* Add finger support to dirmngr.Werner Koch2011-02-087-2/+186
| | | | | | | | | | | | | The basic network code from http.c is used for finger. This keeps the network related code at one place and we are able to use the somewhat matured code form http.c. Unfortunately I had to enhance the http code for more robustness and probably introduced new bugs. Test this code using gpg --fetch-key finger:[email protected] (I might be the last user of finger ;-)
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-0426-509/+499
| | | | | | | | 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.
* Fix test for gcry_pk_get_curve.Werner Koch2011-02-032-1/+5
| | | | | Add a compatibility fixes for the non-curve case. Remove -lber from the dirmngr link line.
* Merge branch 'ECC-INTEGRATION-2-1'ecc-integration-doneWerner Koch2011-02-031-1/+1
|\
| * Merge branch 'master' into ECC-INTEGRATION-2-1Werner Koch2011-01-2410-39/+1150
| |\
| * | Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed order of some conditional to make to put the special case into the true branch. Indentation changes. Minor other changes to make the ECC code more similar to the rest of our code. It builds but many sefltests still fail. Need to fix that before using it with an ECDH enabled libgcrypt. [/] 2011-01-21 Werner Koch <[email protected]> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <[email protected]> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <[email protected]> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
| * | Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following works: gpg2 --gen-key (ECC) gpg2 --list-keys gpg2 --list-packets ~/.gnupg/pubring.gpg gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys> ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring.
* | | Fix setting of default homedir for WinceWerner Koch2011-01-252-1/+3
| | | | | | | | | | | | | | | Accidentally used == for assignment. Not a problem in our test environment because we use /gnupg as home directory anyway.
* | | Make dirmngr more battery friendly.Werner Koch2011-01-253-113/+199
| |/ |/| | | | | | | | | | | Similar to gpg-agent, dirmngr's wait timeouts are now synced to the full second. Increased ldap helper thread timeout to 2 seconds. Nuked some white spaces.
* | Merge branch 'master' into keyserver-via-dirmngrWerner Koch2011-01-202-29/+33
|\ \
| * | Use estream for dirmngr's --gpgconf-list.Werner Koch2011-01-192-29/+33
| |/ | | | | | | Change insalled name of gpg2 for Wince.
* | All standard keyserver commands are now using dirmngr.Werner Koch2011-01-206-16/+291
| |
* | Keyserver search and get basically works again.Werner Koch2011-01-185-83/+335
| |
* | Initial code checking for backup - not yet working.Werner Koch2011-01-109-10/+590
|/
* Tweaks for gpgconf.Werner Koch2010-12-144-15/+43
| | | | | Fixed dirmngr bug 1010.
* Change --dameon home directory to /gnupg under WinceWerner Koch2010-12-143-1/+9
|
* Change dirmngr timer under W32CE.Werner Koch2010-12-092-4/+12
| | | | | Fix trustdb open problem under W32CE.
* Change stack size for Wince.Werner Koch2010-11-232-2/+9
| | | | | | Allow for a longer agent atartup under wince. Print gpg output via estream.
* Fix last commitWerner Koch2010-10-211-0/+2
|
* Translate dirmngr stringsWerner Koch2010-10-213-6/+11
|
* Fix a signing problem with the cardWerner Koch2010-10-181-1/+13
|
* Tweaks to make make distcheck work.Werner Koch2010-10-152-0/+6
|
* Fix a build_sources problemWerner Koch2010-10-052-158/+5
|
* Exporting secret keys via gpg-agent is now basically supported.Werner Koch2010-10-012-1/+5
| | | | | | A couple of forward ported changes. Doc updates.
* Auto-start dirmngr.Werner Koch2010-08-161-2/+6
|
* Minor Makefile fixes to let it build on all platformsWerner Koch2010-08-132-1/+3
|
* Fixed LDAP access on CEWerner Koch2010-08-133-30/+247
|
* Fix last changeWerner Koch2010-08-121-2/+2
|
* Fix dirmngr problems on CE.Werner Koch2010-08-125-12/+109
| | | | | | Add new dirmngr commands. Minor other fixes.
* More work on the dirmngr. It now builds for W32 and W32CE and quickWerner Koch2010-08-069-62/+217
| | | | | tests show that it works on W32.
* Typo fixWerner Koch2010-08-051-1/+1
|
* Fix regressions on POSIXWerner Koch2010-08-032-3/+8
| | | | | | | | -This line, and those below, will be ignored-- M dirmngr/dirmngr_ldap.c M dirmngr/ChangeLog
* Add code for a threaded LDAP access to replace the wrapper process.Werner Koch2010-08-024-240/+386
| | | | | Currently used for W32 and W32CE.