1. 13 Feb, 2017 2 commits
  2. 05 Feb, 2017 4 commits
  3. 04 Feb, 2017 1 commit
  4. 25 Jan, 2017 4 commits
  5. 24 Jan, 2017 8 commits
  6. 23 Jan, 2017 15 commits
    • Werner Koch's avatar
      Release 2.1.18 · f8289b1d
      Werner Koch authored
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      f8289b1d
    • Werner Koch's avatar
      build: Change make distcheck configure and temp. remove gpgconf.scm. · 25e02982
      Werner Koch authored
      * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Also test gpgtar and
      wks-tools.  Disable ntbtls.
      * tests/openpgp/Makefile.am (XTESTS): Temporary remove gpgconf.scm.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      25e02982
    • Werner Koch's avatar
      po: Auto update · d393678a
      Werner Koch authored
      --
      d393678a
    • Werner Koch's avatar
      po: Translate two new strings to German · ee79e849
      Werner Koch authored
      --
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      ee79e849
    • Werner Koch's avatar
      Update copyright notices for 2017. · 707c47f5
      Werner Koch authored
      --
      
      Also some http:// -> https:// fixes.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      707c47f5
    • Werner Koch's avatar
      Fix format string errors and some missing error case initialization. · af5979a4
      Werner Koch authored
      * common/logging.c (do_logv): Remove extra parentheses in comparison.
      
      * dirmngr/dns-stuff.c (resolve_addr_libdns): Init RES so that
      dns_res_close is given a defined value in the error case.
      
      * dirmngr/http.c (cookie_read, cookie_write) [HTTP_USE_NTBTLS]: Fix
      format string char.
      
      * dirmngr/ks-engine-hkp.c (ks_hkp_help): Remove duplicate "const".
      * dirmngr/ks-engine-http.c (ks_http_help): Ditto.
      * dirmngr/ks-engine-kdns.c (ks_kdns_help): Ditto.
      * dirmngr/ks-engine-ldap.c (ks_ldap_help): Ditto.
      
      * scd/app-p15.c (send_keypairinfo, do_getattr): Fix format string
      char.
      * tools/gpgconf-comp.c (gpg_agent_runtime_change): Init PID for the
      error case.
      (scdaemon_runtime_change): Ditto.
      (dirmngr_runtime_change): Ditto.
      
      * tools/gpgconf.c (query_swdb): Init VALUE_SIZE_UL.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      af5979a4
    • Werner Koch's avatar
      dirmngr: On SIGHUP mark all keyservers alive. · 3ca3da8f
      Werner Koch authored
      * dirmngr/ks-engine-hkp.c (ks_hkp_reload): New.
      * dirmngr/dirmngr.c (dirmngr_sighup_action): Call it.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      3ca3da8f
    • Gaetan Bisson's avatar
      libdns: Hack to skip negation term. · d4c0187d
      Gaetan Bisson authored
      * dirmngr/dns.c (dns_nssconf_loadfile): Skip negation terms in
      nsswitch.conf parser.
      --
      
      This small patch was submitted along with this comment:
      
        We've been having issues over at Arch Linux with the new libdns
        code.  Our /etc/nsswitch.conf contains the following line:
      
          hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
      
        And it turns out dirmngr fails to parse the negation statement (the
        bang in !UNAVAIL). This results in gnupg not being able to resolve
        any name.
      
        Looking at dirmngr/dns.c it was unclear to me how to properly handle
        such negations. The dns_anyconf_scan calls used in
        dns_nssconf_loadfile do not allow to store a negation bit easily...
      
        In the meantime, I wrote the attached patch which ignores those
        statements altogether. It makes libdns work as expected for us.
      
      Commit log written by wk
      d4c0187d
    • Werner Koch's avatar
      dirmngr: Print debug message only with --debug. · 9ae0b81e
      Werner Koch authored
      * dirmngr/dns-stuff.c (libdns_init): Call log_debug only if opt_debug
      is set.
      --
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      9ae0b81e
    • Phil Pennock's avatar
      dirmngr: Handle missing nsswitch.conf. · 88ade475
      Phil Pennock authored
      * dirmngr/dns-stuff.c (libdns_init): Fallback to files,dns.
      
      --
      Signed-off-by: 's avatarPhil Pennock <phil@pennock-tech.com>
      
      ChangeLog entry by wk.
      
      This fixed the problem:
      
        Short version: macOS doesn't include /etc/nsswitch.conf and GnuPG's
        dirmngr is hard-erroring when that file is missing, such that no DNS
        operations succeed and --recv-key returns ENOENT type errors to the
        caller.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      88ade475
    • Werner Koch's avatar
      dco: Register Phil Pennock. · b3e7a112
      Werner Koch authored
      --
      b3e7a112
    • Damien Goutte-Gattat's avatar
      gpg: Fix misleading log message when checking regexp. · a85731ad
      Damien Goutte-Gattat authored
      * src/trustdb.c (check_regexp): Correctly print whether the
      regexp matched or not.
      --
      
      This patch fixes the log message displayed when gpg attempts to
      match the regexp associated with a trust signature with an user ID.
      The current message interprets the 'ret' variable backwards, and
      displays 'YES' when the regexp actually fails to match.
      Signed-off-by: 's avatarDamien Goutte-Gattat <dgouttegattat@incenp.org>
      a85731ad
    • Werner Koch's avatar
      po: Fixes to the German translation · 65ed117a
      Werner Koch authored
      --
      
      Justus reported that the German translation for the key listing in
      --edit-key does "usage: E" -> "Aufruf: E" which is clearly wrong.  It
      turnd out that this translation was once marked as fuzzy and
      accidentally unfuzzied by me.
      
         "Aufruf" (bug) -> "Nutzung"
         "Leistungsfähigkeit" -> "Nutzung"
         "Signaturfähigkeit" -> "Signaturnutzbarkeit" etc.
      
      The last two are in the key generation menu.  Also changed the key
      code for "Umschalten der Signaturnutzbarkeit" from "U" to "S".
      
      "Nutzung" is here better than "Fähigkeit" because the latter is more
      connected to the property of the algorithm, where the former better
      expresses an arbitrary choice.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      65ed117a
    • Werner Koch's avatar
      gpg: New export and import options "backup" and "restore". · 953d4ec6
      Werner Koch authored
      * g10/export.c (parse_export_options): Add "backup" and its alias
      "export-backup".
      (do_export_one_keyblock): Export ring trust packets in backup mode.
      * g10/import.c (parse_import_options): Add "restore" and its alias
      "import-restore".
      (read_block): Import ring trust packets.
      --
      
      These options are intended to, well, backup and restore keys between
      GnuPG implementations.  These options may eventually be enhanced to
      backup and restore all public key related information.
      Signed-off-by: 's avatarWerner Koch <wk@gnupg.org>
      953d4ec6
    • NIIBE Yutaka's avatar
      scd: Fix INTERRUPT transfer. · 21c9ebb9
      NIIBE Yutaka authored
      * scd/ccid-driver.c (find_endpoint): Don't return Bulk endpoint as
      Interrupt endpoint.
      (ccid_poll): Call libusb_interrupt_transfer.
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      21c9ebb9
  7. 19 Jan, 2017 5 commits
  8. 18 Jan, 2017 1 commit