Skip to content
Snippets Groups Projects
  1. Aug 09, 2021
  2. Jul 31, 2021
  3. Apr 22, 2019
  4. Oct 25, 2016
  5. Oct 24, 2016
    • Richard van der Hoff's avatar
      Return the base64-encoded length of pickles · a7310c58
      Richard van der Hoff authored
      make olm_pickle_* return the lengths of the base64-encoded pickles, rather than
      the raw pickle. (From the application's POV, the format of the pickle is
      opaque: it doesn't even know that it is base64-encoded. So returning the length
      of the raw pickle is particularly unhelpful.)
      a7310c58
  6. 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
  7. May 23, 2016
  8. Jul 16, 2015
  9. Jul 14, 2015
  10. Jul 10, 2015
  11. Jul 09, 2015
  12. Jul 08, 2015
  13. Jul 07, 2015
  14. Jun 26, 2015
Loading