1. 01 Sep, 2016 2 commits
    • Richard van der Hoff's avatar
      Merge branch 'rav/ed25519_fix' · 214e9328
      Richard van der Hoff authored
    • Richard van der Hoff's avatar
      Fix Ed25519 keypair generation · 0c462cff
      Richard van der Hoff authored
      Ed25519 private keys, it turns out, have 64 bytes, not 32.
      We were previously generating only 32 bytes (which is all that is required to
      generate the public key), and then using the public key as the upper 32 bytes
      when generating the per-message session key. This meant that everything
      appeared to work, but the security of the private key was severely compromised.
      By way of fixes:
       * Use the correct algorithm for generating the Ed25519 private key, and store
         all 512 bits of it.
       * Update the account pickle format and refuse to load the old format (since we
         should consider it compromised).
       * Bump the library version, and add a function to retrieve the library
         version, so that applications can verify that they are linked against a
         fixed version of the library.
       * Remove the curve25519_{sign, verify} functions which were unused and of
         dubious quality.
  2. 16 Jul, 2016 1 commit
  3. 11 Jul, 2016 3 commits
  4. 06 Jul, 2016 2 commits
  5. 05 Jul, 2016 2 commits
    • Emmanuel Gil Peyrot's avatar
      Add an install and an install-debug targets · c8d00665
      Emmanuel Gil Peyrot authored
      This makes the user able to use the familiar `make install` syntax, and
      allows overriding of the default directories using the DESTDIR and
      PREFIX variables, for example:
       make DESTDIR=packaging PREFIX=/usr install
    • Emmanuel Gil Peyrot's avatar
      Specify the soname in the library and its name · 06cdb3f7
      Emmanuel Gil Peyrot authored
      This provides users of this library the guarantee that the ABI will
      stay stable when MAJOR will reach 1, and will stay backwards compatible
      for the entire duration of the 1.x.y branch.
      It does require the maintainers to always update the version in the
      Makefile at every ABI change.
  6. 30 Jun, 2016 3 commits
    • Richard van der Hoff's avatar
      PR feedback · d8b24acb
      Richard van der Hoff authored
      * write V1 pickles on the master branch
      * the logging branch is going to write v0x80000001
    • Richard van der Hoff's avatar
      Make space in the session pickle for chain index · 8dd3c182
      Richard van der Hoff authored
      Keeping track of the chain index is a useful thing to do, but is only required
      if we've enabled diagnostics. Extend the session pickle format to make a space
      for it, so that pickles can be transferred between the logging_enabled branch
      and the master branch without loss of information.
      Also add some tests for session pickling which explicitly check that we can
      unpickle both formats of pickle.
    • Richard van der Hoff's avatar
      Remove unused 'chain_index' from Ratchet · 757c4225
      Richard van der Hoff authored
      This was introduced when I was experimenting with support for logging progress
      in Olm. That is now relegated to the logging_enabled branch, so this should
      probably be removed.
      This also fixes the incompatibility of session pickles from the current master
      branch with those from olm 0.1.0.
  7. 26 May, 2016 6 commits
  8. 25 May, 2016 9 commits
  9. 24 May, 2016 12 commits