1. 03 May, 2019 11 commits
  2. 26 Mar, 2019 3 commits
    • Werner Koch's avatar
      Release GPGME 1.13.0 · 1b5a6bf2
      Werner Koch authored
      
      
      * configure.ac: Bump LT versions.
                      For C to C33/A22/R0.
                      For C++ to C15/A9/R0.
                      For Qt to C10/A3/R3.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      1b5a6bf2
    • Andre Heinecke's avatar
      core: Fix a strtoul to strtol · 10576dc4
      Andre Heinecke authored
      * src/assuan-support.c (my_spawn): Fix using strtoul for
      a long.
      
      --
      This was commented on in129def87 and is correct.
      It is signed here to better handle cases where an
      invalid handle value (-1) would be passed.
      10576dc4
    • Andre Heinecke's avatar
      cpp: Fix GenCardKeyInteractor and extend it · ffdb7521
      Andre Heinecke authored
      * NEWS: Mention interface change.
      * lang/cpp/src/gpggencardkeyinteractor.cpp
      (GpgGenCardKeyInteractor::setAlgo): New.
      (GpgGenCardKeyInteractor::action),
      (GpgGenCardKeyInteractor::nextState: Handle new interface.
      
      --
      Tested that this workes with the old interface of GnuPG 2.2.5
      and the new interface since GnuPG 2.2.6
      
      GnuPG-Bug-Id: T4428
      ffdb7521
  3. 25 Mar, 2019 1 commit
    • Andre Heinecke's avatar
      core, w32: Add hack to translate diag logger-fd · 129def87
      Andre Heinecke authored
      * src/assuan-support.c (my_spawn): Add hack to
      mark the logger fd for w32spawn translation.
      
      --
      The w32 spawn code needs to modify argv with
      an updated fd that matches the real id
      in the spawned process.
      
      It uses spawn_fd_item_s.arg_loc for that.
      We hack it here so that the arg_loc is set
      for gpgsm's logger-fd without changing
      the assuan API.
      
      GnuPG-Bug-Id: T4426
      129def87
  4. 20 Mar, 2019 1 commit
  5. 19 Mar, 2019 1 commit
  6. 13 Mar, 2019 1 commit
    • Andre Heinecke's avatar
      cpp: Fix Error::hasSystemError · c4cc47ee
      Andre Heinecke authored
      * lang/cpp/src/context.cpp (Error::hasSystemError): Invert logic to
      do what it says.
      
      --
      This is safe because according to codesearch it is only used
      in QGpgME
      c4cc47ee
  7. 28 Feb, 2019 2 commits
  8. 27 Feb, 2019 1 commit
    • Andre Heinecke's avatar
      json: Limit recursion depth · 4a117859
      Andre Heinecke authored
      * src/cJSON.c (MAX_DEPTH): New. Maximum recursion depth.
      (parse_value, parse_array, parse_object): Carry and check
      depth argument.
      (cJSON_ParseWithOpts): Initialize depth.
      
      --
      This fixes a stack overflow if we get weird recursive
      json data.
      
      GnuPG-Bug-Id: T4331
      4a117859
  9. 21 Feb, 2019 2 commits
  10. 19 Feb, 2019 1 commit
    • Werner Koch's avatar
      core,w32: Fix missing sentinel in dir name builder. · 4c49417c
      Werner Koch authored
      
      
      * src/w32-util.c (_gpgme_get_gpgconf_path): Add NULL top strconcat.
      --
      
      Fortunately this is called early and the stack like cleared out so
      that we have not seen wrong behaviour until now.  We should really fix
      all these annoying HANDLE/int cast warnings and alike so that real
      bugs are not drowned by them.
      
      GnuPG-bug-id: 4369
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      4c49417c
  11. 11 Feb, 2019 1 commit
  12. 10 Feb, 2019 1 commit
  13. 30 Jan, 2019 1 commit
  14. 27 Jan, 2019 2 commits
    • Ben McGinnes's avatar
      python: post installer script · 2de1e599
      Ben McGinnes authored
      * Removed auto-generated .texi files from doc/src/ so only the
        corrected versions are left.
      * Which means now it is complete, but with the initial work to expand
        it with info file generation later.
      2de1e599
    • Ben McGinnes's avatar
      python: post installer docs fix script · 1e265723
      Ben McGinnes authored
      
      
      * Moved post_installer.py into the examples/howto/ directory.
      * Added instructions for its use to the Python Bindings HOWTO.
      * Ran it as intended from the lang/python/ directory in order to both
        prove it works and quickly and easily get the updated howto
        replicated.  Also to fix all those .texi files.
      
      Tested-by: default avatarBen McGinnes <ben@adversary.org>
      Signed-off-by: default avatarBen McGinnes <ben@adversary.org>
      1e265723
  15. 25 Jan, 2019 2 commits
  16. 16 Jan, 2019 1 commit
    • NIIBE Yutaka's avatar
      build: With LD_LIBRARY_PATH defined, use --disable-new-dtags. · 66bcb8ac
      NIIBE Yutaka authored
      
      
      * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
      * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
      * lang/cpp/tests/Makefile.am, lang/qt/tests/Makefile.am: Likewise.
      * tests/gpg/Makefile.am, tests/gpgsm/Makefile.am: Likewise.
      * tests/json/Makefile.am, tests/opassuan/Makefile.am: Likewise.
      
      --
      
      GnuPG-bug-id: 4298
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      66bcb8ac
  17. 15 Jan, 2019 1 commit
  18. 09 Jan, 2019 1 commit
  19. 02 Jan, 2019 3 commits
  20. 26 Dec, 2018 1 commit
  21. 24 Dec, 2018 1 commit
    • Ben McGinnes's avatar
      python: docs processing · ef9355c2
      Ben McGinnes authored
      
      
      * Added some EPUB specific config options to the Sphinx config file
        which might help reduce some of Sphinx's more stupid default errors
        with EPUB validation.
      * Added lang/python/post_installer.py script for automating the
        generation of .texi and .rst "source" files from the real source
        files written in Org mode.  Includes recreating the Sphinx Makefile
        which is excluded due to the m4 toolchain in parent directories, it
        also handles the rewriting of the reST index file properly and
        rewrites the .texi files so they don't impale themselves on Unicode.
      
      Tested-by: default avatarBen McGinnes <ben@adversary.org>
      Signed-off-by: default avatarBen McGinnes <ben@adversary.org>
      ef9355c2
  22. 21 Dec, 2018 1 commit
    • Ben McGinnes's avatar
      python: docs · 06bca0ea
      Ben McGinnes authored
      
      
      * Found a bug in org-mode's export to texinfo function which will
        require either manual modification of each file or a customs sed run
        over the generated files for all updates.
      * Manually updated the current files for now, but will need to add
        some post-install processing scripts for future use (I already have
        some of these for my specific setup, they just need to be made a
        little more generic and platform independent for here).
      
      Tested-by: default avatarBen McGinnes <ben@adversary.org>
      Signed-off-by: default avatarBen McGinnes <ben@adversary.org>
      06bca0ea