1. 16 Mar, 2017 1 commit
  2. 25 Jan, 2017 1 commit
    • sigiesec's avatar
      Problem: zmq_z85_decode does not validate its input (#2322) · c6c21cf1
      sigiesec authored
      * Problem: zmq_z85_decode does not validate its input
      Solution: added checks for invalid characters and overflows
      
      * Added tests, added further check for range overflow, removed (multiple) calls to strlen
      
      * Problem: gcc fails to build
      Solution: added missing include directive
      
      * Added VS2015 test_utils_z85 project
      
      * Fixed indentation and copyright notice
      
      * Resolved garbage from merge
      
      * Revert "Added VS2015 test_utils_z85 project"
      
      This reverts commit c58b3c664c144326e77135aa1184b6f0dee11143.
      
      * Problem: test calls zmq_z85_decode with a NULL dest
      Solution: call zmq_z85_decode with a properly sized buffer
      
      * Problem: tests for zmq_z85_* scattered over two files
      Solution: merged files
      
      * Removed reference to removed test file from CMakeLists.txt
      
      * Problem: Missing include directive to stdint.h
      Solution: Added include directive
      
      * Define __STDC_LIMIT_MACROS before including stdint.h
      
      * Problem: Wrong variable is checked for invalid character marker
      Solution: Use correct variable
      c6c21cf1
  3. 19 May, 2016 2 commits
  4. 14 May, 2016 1 commit
  5. 25 Apr, 2016 1 commit
  6. 30 Mar, 2016 1 commit
  7. 18 Feb, 2016 1 commit
  8. 11 Feb, 2016 2 commits
    • Pieter Hintjens's avatar
      Problem: tweetnacl sources are a mess · f8ed793f
      Pieter Hintjens authored
      - they have no copyright / license statement
      - they are in some randomish directory structure
      - they are a mix of postable and non-portable files
      - they do not conform to conditional compile environment
      
      Overall, it makes it rather more work than needed, in build scripts.
      
      Solution: clean up tweetnacl sauce.
      
      - merged code into single tweetnacl.c and .h
      - standard copyright header, DJB to AUTHORS
      - moved into src/ along with all other source files
      - all system and conditional compilation hidden in these files
      - thus, they can be compiled and packaged in all cases
      - ZMQ_USE_TWEETNACL is set when we're using built-in tweetnacl
      - HAVE_LIBSODIUM is set when we're using external libsodium
      f8ed793f
    • Pieter Hintjens's avatar
      Problem: use of libsodium vs. tweetnacl is confused · b49a6041
      Pieter Hintjens authored
      It's unclear which we need and in the source code, conditional code
      treats tweetnacl as a subclass of libsodium, which is inaccurate.
      
      Solution: redesign the configure/cmake API for this:
      
      * tweetnacl is present by default and cannot be enabled
      * libsodium can be enabled using --with-libsodium, which replaces
        the built-in tweetnacl
      * CURVE encryption can be disabled entirely using --enable-curve=no
      
      The macros we define in platform.hpp are:
      
          ZMQ_HAVE_CURVE    1        //  When CURVE is enabled
          HAVE_LIBSODIUM    1        //  When we are using libsodium
          HAVE_TWEETNACL    1        //  When we're using tweetnacl (default)
      
      As of this patch, the default build of libzmq always has CURVE
      security, and always uses tweetnacl.
      b49a6041
  9. 01 Feb, 2016 1 commit
  10. 28 Jan, 2016 1 commit
  11. 21 Aug, 2015 1 commit
  12. 16 Aug, 2015 1 commit
  13. 02 Jun, 2015 1 commit
  14. 22 Apr, 2015 1 commit
  15. 22 Jan, 2015 1 commit
  16. 23 Dec, 2014 2 commits
  17. 13 Aug, 2014 1 commit
  18. 01 May, 2014 1 commit
  19. 18 Jan, 2014 1 commit
  20. 02 Jan, 2014 1 commit
  21. 04 Nov, 2013 2 commits
  22. 29 Sep, 2013 2 commits
  23. 15 Sep, 2013 1 commit
    • Pieter Hintjens's avatar
      Added z85 codec to ZMQ API · 576e3ca5
      Pieter Hintjens authored
      * Removed redundant Z85 code and include files from project
      * Simplified use of headers in test cases (now they all just use testutil.hpp)
      * Export zmq_z85_encode() and zmq_z85_decode() in API
      * Added man pages for these two functions
      576e3ca5
  24. 17 Aug, 2013 2 commits
  25. 12 Mar, 2013 1 commit
    • Pieter Hintjens's avatar
      Removed corporate advertisements from source file headers · f0f16505
      Pieter Hintjens authored
      Copyrights had become ads for Sustrik's corporate sponsors, going against the original
      agreement to share copyrights with the community (that agreement was: one line stating
      iMatix copyright + one reference to AUTHORS file). The proliferation of corporate ads
      is also unfair to the many individual authors. I've removed ALL corporate title from
      the source files so the copyright statements can now be centralized in AUTHORS and
      source files can be properly updated on an annual basis.
      f0f16505
  26. 01 Nov, 2011 1 commit
  27. 31 Oct, 2011 1 commit
  28. 12 Apr, 2011 1 commit
  29. 02 Mar, 2011 1 commit
  30. 30 Oct, 2010 1 commit
  31. 05 Jan, 2010 1 commit
  32. 03 Nov, 2009 1 commit
  33. 05 Oct, 2009 1 commit
  34. 03 Aug, 2009 1 commit