Skip to content
  1. Mar 10, 2020
  2. Mar 09, 2020
  3. Mar 08, 2020
    • Daniel Gultsch's avatar
      modify 'create backup' faq entry · 7851174b
      Daniel Gultsch authored
      7851174b
    • Daniel Gultsch's avatar
      use 16 byte IVs for http upload files larger than 768KiB · aecb771a
      Daniel Gultsch authored
      Ever since Android 9+ switched to Conscrypt we can no longer efficiently
      encrypt (and decrypt) large files with AES-GCM. We did’t notice this before
      because when using 16 byte IVs even modern Androids will fall back to bouncy
      castle. However the 'bug'/'feature' in Conscrypt surfaced when we switched over
      to 12 byte IVs (which uses Conscrypt on Android 9+)
      Switching back entirely to 16 byte IVs is undesirable as this would break
      compatibility with Monal. So we end up with a weird compromise where we use
      12 byte for normale plain text OMEMO messages and 'small' files where the
      inefficiencies aren’t a problem.
      
      The result of this commit is that Monal won’t be able to receive our files
      larger than 768KiB. However the alternative is that Conversations would always
      OOM when attempting to send larger files (where large depends on the available
      RAM.)
      
      fixes #3653
      aecb771a
  4. Mar 07, 2020
    • Daniel Gultsch's avatar
      pulled translations from transifex · 3be7c3bc
      Daniel Gultsch authored
      3be7c3bc
    • Daniel Gultsch's avatar
      momentarily go back to 16 byte IVs · 788b0f7f
      Daniel Gultsch authored
      The Crypto provider used from Android P onwards (conscrypt) has a weird bug
      that when 12 bytes IVs are used it will decrypt or encrypt the entire file
      in RAM instead of streaming it. That will cause OOM for 'larger' files on http
      upload. (both downloads and uploads are effected)
      
      It is currently unclear why this is happening and why Conscrypt is put into a
      different mode.
      We are only observing that Android versions below P are fine and using 16 bytes
      is fine on all Android versions.
      788b0f7f
  5. Mar 05, 2020
  6. Mar 02, 2020
  7. Feb 29, 2020
  8. Feb 19, 2020
  9. Feb 17, 2020
  10. Feb 16, 2020
  11. Feb 14, 2020
  12. Feb 12, 2020
  13. Feb 11, 2020
  14. Feb 04, 2020
  15. Jan 28, 2020
  16. Jan 24, 2020
  17. Jan 20, 2020
  18. Jan 19, 2020
Loading