Skip to content
Snippets Groups Projects
This project is mirrored from https://codeberg.org/iNPUTmice/Conversations.git. Pull mirroring updated .
  1. Apr 23, 2020
  2. Apr 22, 2020
  3. Apr 20, 2020
  4. Mar 20, 2020
  5. Mar 10, 2020
  6. Mar 09, 2020
  7. Mar 08, 2020
    • 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
  8. Feb 19, 2020
  9. Feb 17, 2020
  10. Jan 20, 2020
  11. Jan 18, 2020
  12. Jan 15, 2020
  13. Jan 11, 2020
  14. Jan 09, 2020
  15. Jan 08, 2020
  16. Jan 05, 2020
  17. Dec 08, 2019
  18. Nov 10, 2019
  19. Nov 08, 2019
  20. Oct 07, 2019
  21. Oct 06, 2019
  22. Sep 28, 2019
  23. Sep 27, 2019
  24. Sep 25, 2019
  25. Sep 24, 2019
Loading