1. 11 Jan, 2017 1 commit
  2. 05 Nov, 2016 1 commit
  3. 20 Sep, 2016 1 commit
  4. 18 Aug, 2016 1 commit
    • Werner Koch's avatar
      dirmngr: Remove all system daemon features. · d83ba489
      Werner Koch authored
      * dirmngr/dirmngr.h (opts): Remove fields 'system_service' and
      'system_daemon'.
      * common/homedir.c (dirmngr_sys_socket_name): Remove.
      (dirmngr_user_socket_name): Rename to ...
      (dirmngr_socket_name): this.  Change call callers.
      * common/asshelp.c (start_new_dirmngr): Remove the system socket
      feature.
      * tools/gpgconf.c (list_dirs): Do not print "dirmngr-sys-socket".
      * sm/server.c (gpgsm_server): Adjust for removed system socket feature.
      * dirmngr/server.c (cmd_getinfo): Ditto.
      (cmd_killdirmngr): Remove check for system daemon.
      (cmd_reloaddirmngr): Ditto.
      * dirmngr/dirmngr.c (USE_W32_SERVICE): Remove macro.
      (aService): Remove.
      (opts): Remove --service.
      (w32_service_control): Remove.
      (real_main, call_real_main) [W32]: Remove wrapper.
      (main): Remove Windows system service feature.  Remove system dameon
      feature.  Use only the "~/.gnupg/dirmngr_ldapservers.conf" file.
      * dirmngr/certcache.c (load_certs_from_dir): Remove warning in the
      system dameon case.
      * dirmngr/crlcache.c (DBDIR_D): Always use "~/.gnupg/crls.d".
      * dirmngr/ocsp.c (validate_responder_cert): Do not call
      validate_cert_chain which was used only in system daemon mode.
      * dirmngr/validate.c (validate_cert_chain): Always use the code.
      --
      
      We are now starting dirmngr as needed as a user daemon.  The
      deprecated system daemon mode does not anymore make sense.  In case a
      system wide daemon is required, it is better to setup a dedicated
      account to run dirmngr and tweak socket permissions accordingly.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      d83ba489
  5. 03 Aug, 2016 1 commit
  6. 22 Jan, 2016 1 commit
  7. 19 Nov, 2015 1 commit
  8. 17 Nov, 2015 1 commit
    • Justus Winter's avatar
      Fix typos found using codespell. · a9e09053
      Justus Winter authored
      * agent/cache.c: Fix typos.
      * agent/call-pinentry.c: Likewise.
      * agent/call-scd.c: Likewise.
      * agent/command-ssh.c: Likewise.
      * agent/command.c: Likewise.
      * agent/divert-scd.c: Likewise.
      * agent/findkey.c: Likewise.
      * agent/gpg-agent.c: Likewise.
      * agent/w32main.c: Likewise.
      * common/argparse.c: Likewise.
      * common/audit.c: Likewise.
      * common/audit.h: Likewise.
      * common/convert.c: Likewise.
      * common/dotlock.c: Likewise.
      * common/exechelp-posix.c: Likewise.
      * common/exechelp-w32.c: Likewise.
      * common/exechelp-w32ce.c: Likewise.
      * common/exechelp.h: Likewise.
      * common/helpfile.c: Likewise.
      * common/i18n.h: Likewise.
      * common/iobuf.c: Likewise.
      * common/iobuf.h: Likewise.
      * common/localename.c: Likewise.
      * common/logging.c: Likewise.
      * common/openpgp-oid.c: Likewise.
      * common/session-env.c: Likewise.
      * common/sexputil.c: Likewise.
      * common/sysutils.c: Likewise.
      * common/t-sexputil.c: Likewise.
      * common/ttyio.c: Likewise.
      * common/util.h: Likewise.
      * dirmngr/cdblib.c: Likewise.
      * dirmngr/certcache.c: Likewise.
      * dirmngr/crlcache.c: Likewise.
      * dirmngr/dirmngr-client.c: Likewise.
      * dirmngr/dirmngr.c: Likewise.
      * dirmngr/dirmngr_ldap.c: Likewise.
      * dirmngr/dns-stuff.c: Likewise.
      * dirmngr/http.c: Likewise.
      * dirmngr/ks-engine-hkp.c: Likewise.
      * dirmngr/ks-engine-ldap.c: Likewise.
      * dirmngr/ldap-wrapper.c: Likewise.
      * dirmngr/ldap.c: Likewise.
      * dirmngr/misc.c: Likewise.
      * dirmngr/ocsp.c: Likewise.
      * dirmngr/validate.c: Likewise.
      * g10/encrypt.c: Likewise.
      * g10/getkey.c: Likewise.
      * g10/gpg.c: Likewise.
      * g10/gpgv.c: Likewise.
      * g10/import.c: Likewise.
      * g10/keydb.c: Likewise.
      * g10/keydb.h: Likewise.
      * g10/keygen.c: Likewise.
      * g10/keyid.c: Likewise.
      * g10/keylist.c: Likewise.
      * g10/keyring.c: Likewise.
      * g10/mainproc.c: Likewise.
      * g10/misc.c: Likewise.
      * g10/options.h: Likewise.
      * g10/packet.h: Likewise.
      * g10/parse-packet.c: Likewise.
      * g10/pkclist.c: Likewise.
      * g10/pkglue.c: Likewise.
      * g10/plaintext.c: Likewise.
      * g10/server.c: Likewise.
      * g10/sig-check.c: Likewise.
      * g10/sqlite.c: Likewise.
      * g10/tdbio.c: Likewise.
      * g10/test-stubs.c: Likewise.
      * g10/tofu.c: Likewise.
      * g10/trust.c: Likewise.
      * g10/trustdb.c: Likewise.
      * g13/create.c: Likewise.
      * g13/mountinfo.c: Likewise.
      * kbx/keybox-blob.c: Likewise.
      * kbx/keybox-file.c: Likewise.
      * kbx/keybox-init.c: Likewise.
      * kbx/keybox-search-desc.h: Likewise.
      * kbx/keybox-search.c: Likewise.
      * kbx/keybox-update.c: Likewise.
      * scd/apdu.c: Likewise.
      * scd/app-openpgp.c: Likewise.
      * scd/app-p15.c: Likewise.
      * scd/app.c: Likewise.
      * scd/ccid-driver.c: Likewise.
      * scd/command.c: Likewise.
      * scd/iso7816.c: Likewise.
      * sm/base64.c: Likewise.
      * sm/call-agent.c: Likewise.
      * sm/call-dirmngr.c: Likewise.
      * sm/certchain.c: Likewise.
      * sm/gpgsm.c: Likewise.
      * sm/import.c: Likewise.
      * sm/keydb.c: Likewise.
      * sm/minip12.c: Likewise.
      * sm/qualified.c: Likewise.
      * sm/server.c: Likewise.
      * tools/gpg-check-pattern.c: Likewise.
      * tools/gpgconf-comp.c: Likewise.
      * tools/gpgkey2ssh.c: Likewise.
      * tools/gpgparsemail.c: Likewise.
      * tools/gpgtar.c: Likewise.
      * tools/rfc822parse.c: Likewise.
      * tools/symcryptrun.c: Likewise.
      Signed-off-by: 's avatarJustus Winter <justus@g10code.com>
      a9e09053
  9. 28 Oct, 2015 1 commit
  10. 14 Oct, 2015 1 commit
  11. 18 Jun, 2015 1 commit
    • Werner Koch's avatar
      dirmngr: Fix the cleanup zombies fix (685b782a). · c9719837
      Werner Koch authored
      * dirmngr/ldap-wrapper.c (ldap_wrapper_thread): Do not close the
      stdout reader after EOF from read_log_data.
      * dirmngr/crlcache.c (crl_cache_reload_crl): Close the reader before
      the next iteration.
      --
      
      I assumed that the log_fd also has a reader object but that reader
      object is used for stdout and needs to be closed by the consumer.
      
      The real bug with the non-released ldap_wrapper control objects was
      that when looping over distribution points we did not closed the used
      reader object before the next iteration.  Now, the test case had more
      than one DP and thus we lost one reader object.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      c9719837
  12. 09 Jun, 2015 1 commit
  13. 18 Sep, 2014 1 commit
  14. 27 Aug, 2014 1 commit
  15. 26 Aug, 2014 1 commit
    • Werner Koch's avatar
      Switch to the libgpg-error provided estream. · 519305fe
      Werner Koch authored
      * configure.ac (NEED_GPG_ERROR_VERSION): Reguire 1.14.
      (GPGRT_ENABLE_ES_MACROS): Define.
      (estream_INIT): Remove.
      * m4/estream.m4: Remove.
      * common/estream-printf.c, common/estream-printf.h: Remove.
      * common/estream.c, common/estream.h: Remove.
      * common/init.c (_init_common_subsystems): Call gpgrt initialization.
      519305fe
  16. 24 Aug, 2012 1 commit
    • David Prévot's avatar
      Fix typos spotted during translations · ba591e2f
      David Prévot authored
      * agent/genkey.c: s/to to/to/
      * sm/*.c: s/failed to allocated/failed to allocate/
      * sm/certlist.c, ./dirmngr/validate.c: s/should have not/should not have/
      * g10/seskey.c: missing closing parenthesis
      * dirmngr/crlcache.c: s/may has/may have/
      
      Consistency fix:
      
      * g10/gpg.c, kbx/kbxutil.c, sm/gpgsm.c: uppercase after Syntax
      * dirmngr/dirmngr_ldap: no period in Syntax
      * dirmngr/dirmngr-client.c: infinitive for option description:
      	s/certificates are expected/expect certificates/
      ba591e2f
  17. 05 Jun, 2012 1 commit
    • Werner Koch's avatar
      Change all quotes in strings and comments to the new GNU standard. · 096e7457
      Werner Koch authored
      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.
      096e7457
  18. 26 Apr, 2012 1 commit
  19. 04 Feb, 2011 1 commit
    • Werner Koch's avatar
      Nuked almost all trailing white space. · b008274a
      Werner Koch authored
      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.
      b008274a
  20. 14 Dec, 2010 2 commits
  21. 18 Oct, 2010 1 commit
  22. 12 Aug, 2010 1 commit
  23. 06 Aug, 2010 1 commit
  24. 23 Jul, 2010 1 commit
  25. 16 Jul, 2010 1 commit
  26. 09 Jun, 2010 1 commit