Skip to content
Snippets Groups Projects
  1. Sep 05, 2016
  2. Sep 02, 2016
    • Richard van der Hoff's avatar
      Create new constants for key lengths, etc · 39212987
      Richard van der Hoff authored
      We were using olm::KEY_LENGTH for everything under the sun which happened to be
      32 bytes long, and making a bunch of assumptions in the process. Create a bunch
      of new constants (as C #defines rather than C++ consts so that I can use them
      in another forthcoming refactor).
      39212987
  3. Sep 01, 2016
    • 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.
      0c462cff
  4. May 23, 2016
  5. May 16, 2016
  6. Apr 26, 2016
  7. Aug 19, 2015
  8. Aug 18, 2015
  9. Jul 10, 2015
  10. Jul 09, 2015
  11. Jul 08, 2015
  12. Jul 07, 2015
  13. Jun 26, 2015
  14. Jun 23, 2015
  15. Jun 22, 2015
  16. Jun 15, 2015
  17. Jun 12, 2015
Loading