1. 11 Dec, 2018 1 commit
  2. 05 Dec, 2018 1 commit
    • Jussi Kivilinna's avatar
      common: Use platform memory zeroing function for wipememory · 21fdef69
      Jussi Kivilinna authored
      * common/mischelp.h (wipememory): Replace macro with function
      (wipememory2): Remove.
      * common/mischelp.c (wipememory): New.
      * configure.ac (AC_CHECK_FUNCS): Check for 'explicit_bzero' and
      remove duplicated checks.
      In new wipememory function, memory is cleared through platform
      provided secure memory zeroing function, SecureZeroMemory
      or explicit_bzero.
      If none of these is available, memset is called through
      volatile function pointer to so that compiler won't optimize
      away the call.
      Signed-off-by: default avatarJussi Kivilinna <jussi.kivilinna@iki.fi>
      (cherry picked from commit 2a650772b4e1c78a4fd20bc88433930e5551fe9c)
  3. 06 Nov, 2018 1 commit
  4. 26 Oct, 2018 1 commit
  5. 30 Aug, 2018 1 commit
  6. 12 Jul, 2018 1 commit
  7. 08 Jun, 2018 1 commit
  8. 02 May, 2018 2 commits
  9. 27 Apr, 2018 1 commit
    • Werner Koch's avatar
      dirmngr: Use the LDAP wrapper process also for Windows. · f9fbfc64
      Werner Koch authored
      * dirmngr/ldap-wrapper.c: Revamp module to make use of es_poll for
      * configure.ac: Always use the ldap wrapper.
      Since the migration from GNU Pth to nPth the ldap wrapper never worked
      reliable on Windows.  Our long term use of the old Window CE wrapper
      thing didn't fixed this either.  The new code uses the portable
      es_poll function and thus code which is tested at several other
      places.  It Should(tm) fix the Windows issues.
      GnuPG-bug-id: 3937
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
  10. 09 Apr, 2018 1 commit
  11. 13 Mar, 2018 1 commit
    • NIIBE Yutaka's avatar
      scd: Fix for GNU/Linux suspend/resume. · 71e5282c
      NIIBE Yutaka authored
      * configure.ac (require_pipe_to_unblock_pselect): Default is "yes".
      * scd/scdaemon.c (scd_kick_the_loop): Minor clean up.
      Normally SIGCONT or SIGUSR2 works for unblocking pselect.  But on my
      machine with GNU/Linux, when a machine is suspend/resume-ed, pselect
      keeps blocked, while signal itself is delivered.
      It's better to use pipe.
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
  12. 22 Feb, 2018 2 commits
  13. 07 Feb, 2018 1 commit
    • NIIBE Yutaka's avatar
      scd: Use pipe to kick the loop on NetBSD. · 015fe1c4
      NIIBE Yutaka authored
      * configure.ac (HAVE_PSELECT_NO_EINTR): New.
      * scd/scdaemon.c (scd_kick_the_loop): Write to pipe.
      (handle_connections): Use pipe.
      On NetBSD, signal to the same process cannot unblock pselect,
      with unknown reason.  Use pipe instead, for such systems.
      GnuPG-bug-id: 3778
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
  14. 26 Jan, 2018 2 commits
  15. 22 Dec, 2017 1 commit
  16. 20 Dec, 2017 1 commit
  17. 12 Dec, 2017 1 commit
  18. 20 Nov, 2017 4 commits
  19. 15 Nov, 2017 1 commit
  20. 07 Nov, 2017 1 commit
  21. 26 Oct, 2017 1 commit
  22. 24 Oct, 2017 2 commits
    • Werner Koch's avatar
      build: New configure option --enable-werror · 812fe29b
      Werner Koch authored
      * configure.ac: Implement that option.
      This can be used as a workaround in case of bogus autoconf tests.
      GnuPG-bug-id: 2423
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
    • Werner Koch's avatar
      build: Do not mess with CFLAGS in configure. · e417aaf6
      Werner Koch authored
      * configure.ac: Do not mess with the user provided CFLAGS.
      A problem was claimed with some configure tests if the user provided
      CFLAGS=-Werror.  The commit introducing this
      Fixes-commit: 02eb9fc9
      does not mention a concrete case.  Anyway, messing with CFLAGS is a
      bad idea because configure tests will then test something different
      than what is used later (cf. autoconf manual).  Tests which depend on
      the whether -Werror is used needsto be fixed.
      Note that in certain cases we modify CFLAGS.  This is only done for
      some configure options or if the platform requires the use of special
      compiler flags (e.g. on HP/UX).
      GnuPG-bug-id: 2423
  23. 19 Sep, 2017 1 commit
  24. 28 Aug, 2017 2 commits
  25. 23 Aug, 2017 1 commit
  26. 09 Aug, 2017 1 commit
  27. 08 Aug, 2017 1 commit
    • Werner Koch's avatar
      build: New configure option --enable-all-tests. · fb21aa8b
      Werner Koch authored
      * configure.ac: New option --enable-all-tests.
      * tests/gpgscm/ffi.c (ffi_init): New gloabl var *run-all-tests*.
      * tests/openpgp/all-tests.scm (all-tests): Use that var instead
      of *maintainer-mode*.
      * Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add --enable-all-tests.
      It is better to have a separate option to run all tests than to put
      this on top of --enable-maintainer-mode.  This way we can also make
      sure to run all tests during "make distcheck".
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
  28. 07 Aug, 2017 1 commit
    • Justus Winter's avatar
      tests: Do not run all tests unless in maintainer mode. · b0112dbc
      Justus Winter authored
      * configure.ac: Leak the maintainer mode flag into 'config.h'.
      * tests/gpgscm/ffi.c: Pass it into the scheme environment.
      * tests/openpgp/all-tests.scm: Only run tests against non-default
      configurations (keyring, extended-key-format) in maintainer mode.
      Werner is concerned that the tests do take up too much time and asked
      me to reduce the runtime of the tests for normal users.
      Signed-off-by: default avatarJustus Winter <justus@g10code.com>
  29. 05 Aug, 2017 1 commit
  30. 28 Jul, 2017 1 commit
  31. 25 Jul, 2017 1 commit
    • Werner Koch's avatar
      common: Strip trailing slashes from the homedir. · 24c7aa0d
      Werner Koch authored
      * common/homedir.c (default_homedir): Strip trailing slashes.
      (gnupg_set_homedir): Ditto.
      is_gnupg_default_homedir() does not ignore trailing slashes when
      comparing directory names.  This can lead to multiple agents started
      on the same directory if the homedir was specified with --homedir or
      GNUPGHOME without or with a number of slashes.
      We now make sure that the home directory name never ends in a
      slash (except for the roo of course).
      GnuPG-bug-id: 3295
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
  32. 24 Jul, 2017 1 commit
    • Werner Koch's avatar
      doc: Revert the bug reporting address to bugs.gnupg.org · 5dac85fb
      Werner Koch authored
      dev.gnupg org is the development platform but the canonical bug
      address is and has always been bugs.gnupg.org.  We should keep on
      using this address for the case that we switch the tracker again or
      split it off the development system.
      That is also the reason why we should keep on communicating a plain
      bug number without the 'T' prefix.
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>