1. 19 Jul, 2017 4 commits
  2. 07 Jul, 2017 7 commits
  3. 04 Jul, 2017 1 commit
  4. 03 Jul, 2017 1 commit
  5. 10 May, 2017 1 commit
    • Ineiev's avatar
      g10: Fix secmem leak. · 2c2121ff
      Ineiev authored and NIIBE Yutaka's avatar NIIBE Yutaka committed
      
      
      * g10/keygen.c (proc_parameter_file): Fix secmem leak.
      
      --
      
      proc_parameter_file adds certain parameters to the list in the PARA
      argument; however, these new entries are leaked because they
      are added to head, while the PARA list is released by the caller
      of proc_parameter_file.
      
      GnuPG-bug-id: 1371
      Signed-off-by: Ineiev's avatarIneiev <ineiev@gnu.org>
      2c2121ff
  6. 30 Mar, 2017 1 commit
    • Werner Koch's avatar
      gpg: Fix exporting of zero length user ID packets. · bb61191a
      Werner Koch authored
      
      
      * g10/build-packet.c (do_user_id): Avoid indeterminate length header.
      --
      
      We are able to import such user ids but when exporting them the
      exported data could not be imported again because the parser bails out
      on invalid keyrings.  This is now fixed and should be backported.
      
      Note that in 1.4 and 2.0 this is only an issue for attribute packets.
      In 2.1 user IDs were also affected.a
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      bb61191a
  7. 02 Nov, 2016 2 commits
  8. 18 Aug, 2016 1 commit
  9. 17 Aug, 2016 9 commits
  10. 09 Aug, 2016 1 commit
    • Daniel Kahn Gillmor's avatar
      gpg: Avoid publishing the GnuPG version by default · 61539efc
      Daniel Kahn Gillmor authored
      
      
      * g10/gpg.c (main): initialize opt.emit_version to 0
      * doc/gpg.texi: document different default for --emit-version
      
      --
      
      The version of GnuPG in use is not particularly helpful.  It is not
      cryptographically verifiable, and it doesn't distinguish between
      significant version differences like 2.0.x and 2.1.x.
      
      Additionally, it leaks metadata that can be used to distinguish users
      from one another, and can potentially be used to target specific
      attacks if there are known behaviors that differ between major
      versions.
      
      It's probably better to take the more parsimonious approach to
      metadata production by default.
      
      (backport of master commit c9387e41db7520d176edd3d6613b85875bdeb32c)
      
      Signed-off-by: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor <dkg@fifthhorseman.net>
      61539efc
  11. 04 Aug, 2016 3 commits
  12. 03 Aug, 2016 1 commit
  13. 09 Jul, 2016 1 commit
    • NIIBE Yutaka's avatar
      gpgv: Tweak default options for extra security. · cf01cf8b
      NIIBE Yutaka authored
      
      
      * g10/gpgv.c (main): Set opt.no_sig _cache, so that it doesn't depend on
      cached status.  Similarly, set opt.flags.require_cross_cert for backsig
      validation for subkey signature.
      
      --
      
      (backport of master
      commit e32c575e0f3704e7563048eea6d26844bdfc494b)
      
      It is common that an organization distributes binary keyrings with
      signature cache (Tag 12, Trust Packet) and people use gpgv to validate
      signature with such keyrings.  In such a use case, it is possible that
      the key validation itself is skipped.
      
      For the purpose of gpgv validation of signatures, we should not depend
      on signature cache in keyrings (if any), but we should validate the key
      by its self signature for primary key, and back signature for subkey.
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      cf01cf8b
  14. 06 Jul, 2016 1 commit
  15. 28 Jun, 2016 1 commit
    • NIIBE Yutaka's avatar
      g10: Fix --list-packets. · 39e32d37
      NIIBE Yutaka authored
      
      
      * g10/gpg.c (main): Call set_packet_list_mode after assignment of
      opt.list_packets.
      * g10/mainproc.c (do_proc_packets): Don't stop processing with
      --list-packets as the comment says.
      * g10/options.h (list_packets): Fix the comment.
      * g10/parse-packet.c: Fix the condition for opt.list_packets.
      
      --
      
      (backport from 2.0 commit 4f336ed780cc2783395f3ff2b12b3ebb8e097f7b
      which is backport of master
      commit 52f65281f9743c42a48bf5a3354c9ab0ecdb681a)
      
      Debian-bug-id: 828109
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      39e32d37
  16. 15 Jun, 2016 1 commit
    • NIIBE Yutaka's avatar
      g10: Fix another race condition for trustdb access. · db246f8b
      NIIBE Yutaka authored
      
      
      * g10/tdbio.c (create_version_record): Call create_hashtable to always
      make hashtable, together with the version record.
      (get_trusthashrec): Remove call to create_hashtable.
      
      --
      
      GnuPG-bug-id: 1675
      Thanks to Scott Moser to reproducible script and patience.
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      (backport from master
       commit 35a3ce2acf78a95fecbccfd8db0560cca24232df)
      db246f8b
  17. 08 Jun, 2016 1 commit
  18. 22 Apr, 2016 1 commit
  19. 04 Apr, 2016 1 commit
  20. 12 Feb, 2016 1 commit
    • NIIBE Yutaka's avatar
      g10: Make sure to have the directory for trustdb. · d957e438
      NIIBE Yutaka authored
      
      
      * g10/tdbio.c (tdbio_set_dbname): Return earlier if !CREATE.  Check
      the directory and create it if none before calling take_write_lock.
      
      --
      
      Thanks to Marc Deslauriers for the bug report and his patch.
      
      GnuPG-bug-id: 2246
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      
      (backport from master
       commit 2f3e42047d17313eeb38d354048f343158402a8d)
      d957e438