1. 15 Sep, 2013 2 commits
  2. 13 Sep, 2013 1 commit
  3. 09 Sep, 2013 1 commit
  4. 05 Sep, 2013 1 commit
  5. 28 Jun, 2013 1 commit
    • Pieter Hintjens's avatar
      Added Z85 support · 70417701
      Pieter Hintjens authored
      The use of binary for CURVE keys is painful; you cannot easily copy
      these in e.g. email, or use them directly in source code. There are
      various encoding possibilities. Base16 and Base64 are not optimal.
      Ascii85 is not safe for source (it generates quotes and escapes).
      
      So, I've designed a new Base85 encoding, Z85, which is safe to use
      in code and elsewhere, and I've modified libzmq to use this where
      it also uses binary keys (in get/setsockopt).
      
      Very simply, if you use a 32-byte value, it's Base256 (binary),
      and if you use a 40-byte value, it's Base85 (Z85).
      
      I've put the Z85 codec into z85_codec.hpp, it's not elegant C++
      but it is minimal and it works. Feel free to rewrap as a real class
      if this annoys you.
      70417701
  6. 20 Jun, 2013 1 commit
    • Pieter Hintjens's avatar
      Added options for CURVE security · d9bb1672
      Pieter Hintjens authored
      - ZMQ_CURVE_PUBLICKEY for clients and servers
      - ZMQ_CURVE_SECRETKEY for clients
      - ZMQ_CURVE_SERVERKEY for clients
      - ZMQ_CURVE_SERVER for servers
      - added tools/curve_keygen.c as example
      - updated man pages
      d9bb1672
  7. 12 Mar, 2013 1 commit
  8. 31 Jan, 2013 2 commits
  9. 06 Sep, 2012 1 commit
    • Arthur O'Dwyer's avatar
      Add "#undef NDEBUG" to all tests. · cf20932d
      Arthur O'Dwyer authored
      This change makes sure that even if the tests are built in a
      "release" configuration (with optimizations and NDEBUG turned on),
      the assertions won't get compiled out of the tests themselves.
      
      The C standard guarantees that the most recent inclusion of
      <assert.h> is the one that counts, so it's important that the
      "#undef NDEBUG/#include <assert.h>" come as the last thing in
      the block of header files.
      
      "testutil.hpp" includes <assert.h>, so I've left <assert.h> out
      of any test that #includes "testutil.hpp", just for the sake of
      brevity.
      cf20932d
  10. 27 Aug, 2012 1 commit
  11. 01 Nov, 2011 2 commits
  12. 31 Oct, 2011 1 commit
  13. 02 May, 2011 1 commit
  14. 24 Mar, 2011 1 commit
  15. 02 Mar, 2011 1 commit
  16. 30 Oct, 2010 1 commit
  17. 28 Aug, 2010 1 commit
  18. 27 Aug, 2010 2 commits
  19. 13 Feb, 2010 1 commit
  20. 05 Jan, 2010 1 commit
  21. 10 Dec, 2009 1 commit
  22. 03 Nov, 2009 1 commit
  23. 05 Oct, 2009 1 commit
  24. 03 Aug, 2009 1 commit
  25. 29 Jul, 2009 1 commit