Commit graph

428 commits

Author SHA1 Message Date
Daniel Gultsch aecb771ab5 use 16 byte IVs for http upload files larger than 768KiB
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
2020-03-08 13:13:19 +01:00
Daniel Gultsch 12907a52e3 version bump to 2.7.0 + changelog 2020-02-19 19:55:36 +01:00
Daniel Gultsch d73cb08ec6 version bump to 2.7.0-beta 2020-02-17 11:14:11 +01:00
Daniel Gultsch 4189ed7419 version bump to 2.6.4 + changelog 2020-01-20 21:37:03 +01:00
Daniel Gultsch 581eb5556f make theme depend on dark/night mode on android 10+
closes #3611
2020-01-18 14:14:43 +01:00
Daniel Gultsch e0c034c2c9 version bump to 2.6.3 + changelog 2020-01-15 14:47:50 +01:00
Daniel Gultsch 8e0c02f3cc use installreferrer libray instead of broadcast listener 2020-01-11 11:08:09 +01:00
Daniel Gultsch 7803a073ec bump version code 2020-01-09 10:10:22 +01:00
Daniel Gultsch 05c3e047f6 fix retrofit to 2.6.x 2020-01-08 19:02:29 +01:00
Daniel Gultsch 471b02ce86 explicity set okhttp to 3.12.x 2020-01-08 11:07:15 +01:00
Daniel Gultsch 1dad70fbc3 version bump to 2.6.2 + changelog 2020-01-05 18:06:27 +01:00
Daniel Gultsch 94ee4d48c6 version bump to 2.6.1 + changelog 2019-12-08 12:02:20 +01:00
Daniel Gultsch 7b7719db8c version bump to 2.6.0 2019-11-10 09:50:23 +01:00
Daniel Gultsch a651703a9e version bump to 2.6.0-beta.2 2019-11-08 22:37:24 +01:00
Daniel Gultsch 63cc5f96ed version bump to 2.6.0-beta + changelog 2019-11-08 14:42:44 +01:00
Daniel Gultsch b6ce3d9175 bump okhttp library 2019-11-08 14:14:56 +01:00
Daniel Gultsch c17f2dfd56 version code bump + modified changelog 2019-10-07 22:16:11 +02:00
Daniel Gultsch 3a0c6bc17e version bump to 2.5.12 + changelog 2019-10-06 14:37:35 +02:00
Daniel Gultsch 175d9f539e version bump to 2.5.11 + changelog 2019-09-28 11:04:08 +02:00
Daniel Gultsch a2d521568d demote okhttp to 3.12 to work with old android 2019-09-28 10:35:36 +02:00
Daniel Gultsch 0fc41d8c82 version bump to 2.5.10 + changelog 2019-09-27 20:29:22 +02:00
Daniel Gultsch c749aa1cae bumped okhttp 2019-09-25 21:12:12 +02:00
Daniel Gultsch 3733148ac8 version bump to 2.5.9 + changelog 2019-09-24 12:11:51 +02:00
Daniel Gultsch abe01f18f2 improved logging for messages waiting for join 2019-09-19 10:00:50 +02:00
Daniel Gultsch 810d3455a2 bumped gradle version 2019-09-11 15:42:16 +02:00
Daniel Gultsch dfa6cebe99 version bump to 2.5.8 + changelog 2019-09-10 13:08:09 +02:00
Daniel Gultsch 7d6bd540d9 version bump to 2.5.7 + changelog 2019-08-29 12:14:01 +02:00
Daniel Gultsch 796db8ffb6 revert zxing library to 3.3.3 2019-08-29 09:46:33 +02:00
Daniel Gultsch c92cc5f5b7 version bump to 2.5.6 + changelog 2019-08-19 14:48:10 +02:00
Daniel Gultsch de66e9b6f9 version bump to 2.5.5 + changelog 2019-07-23 08:35:29 +02:00
Daniel Gultsch b58d011737 version bump to 2.5.4 + changelog 2019-07-13 08:46:41 +02:00
Daniel Gultsch 8c654abff6 updated retrofit 2019-07-10 22:10:36 +02:00
Daniel Gultsch 2956cfdb95 downgrade some deps that require androidX 2019-07-04 19:34:15 +02:00
Daniel Gultsch fe0493d93f android libphonenumber not yet up to date with upstream 2019-07-04 18:27:07 +02:00
Daniel Gultsch f3ab2dd33a updated some dependencies 2019-07-04 18:16:39 +02:00
Daniel Gultsch 5304ac60a7 version bump to 2.5.4-beta 2019-07-01 14:34:13 +02:00
Daniel Gultsch e432710a3f version bump to 2.5.3 + changelog 2019-06-18 11:05:46 +02:00
Daniel Gultsch 631d9c846f version bump to 2.5.2 2019-05-22 23:59:40 +02:00
Daniel Gultsch 43254663fb version bump to 2.5.1 + changelog 2019-05-03 10:49:46 +02:00
Daniel Gultsch 442c1e3059 version bump to 2.5.0 2019-04-29 12:59:56 +02:00
Daniel Gultsch 0e56dd8bc2 version bump 2.5.0-beta.2 2019-04-27 15:25:19 +02:00
Daniel Gultsch 8de1359746 bump version to 2.5.0-beta + changelog 2019-04-26 12:30:04 +02:00
Daniel Gultsch ff84ee6964 cache channel search results 2019-04-24 13:25:54 +02:00
Daniel Gultsch ba21c9b55f update gradle 2019-04-24 13:25:30 +02:00
Daniel Gultsch 2fa687b8ae refactor muc search to use http 2019-04-22 13:00:45 +02:00
Daniel Gultsch 7ada794e6e version bump to 2.4.3 + changelog 2019-03-28 09:40:54 +01:00
Daniel Gultsch 016e394897 version bump to 2.4.2 + changelog 2019-03-03 15:04:54 +01:00
Daniel Gultsch a243cdb944 version bump to 2.4.1 + changelog 2019-02-23 10:34:51 +01:00
Daniel Gultsch b79a2447b2 bump version to 2.4.0 2019-02-22 18:19:49 +01:00
Daniel Gultsch 009546d0cf increment version to 2.4.0-beta.2 2019-02-15 14:15:37 +01:00