1
0
Fork 1
Commit graph

6181 commits

Author SHA1 Message Date
Daniel Gultsch
55c89d4cbc create stub objects for most of what’s in description and transport 2020-04-20 15:57:30 +02:00
Daniel Gultsch
c97172e108 support multiple jingle contents 2020-04-20 15:57:30 +02:00
Daniel Gultsch
060d8de2ad use final varible to mark initiator once connection object has been created 2020-04-20 15:57:30 +02:00
Daniel Gultsch
1519b63433 process message inits 2020-04-20 15:57:30 +02:00
Daniel Gultsch
c7821157bf route jingle message inits 2020-04-20 15:57:30 +02:00
Daniel Gultsch
f2d5312caa clean iq callback code in XmppConnection 2020-04-20 15:57:30 +02:00
Daniel Gultsch
69657c7e7f create stub JingleRTPConnection 2020-04-20 15:57:30 +02:00
Daniel Gultsch
1239da73e7 refactor jingle code to use objects for TransportInfo 2020-04-20 15:57:29 +02:00
Daniel Gultsch
8784651b3e create 'Description' object 2020-04-20 15:57:29 +02:00
Daniel Gultsch
842b238038 fixed bug in ibb delivery introduced in earlier refactoring 2020-04-20 15:57:29 +02:00
Daniel Gultsch
d36e011370 cleaned JinglePacket and Content element 2020-04-20 15:57:29 +02:00
Daniel Gultsch
d624c943ba rename JingleConnection to JingleFileTransferConnection; use ID tuple to identify sessions 2020-04-20 15:57:29 +02:00
Daniel Gultsch
bde19a772f increase version name for easier debugging with multiple devices 2020-04-20 15:57:29 +02:00
Daniel Gultsch
5f0b77c8ba disable HTTP upload during jingle development
we are going to refactor jingle a lot. in order to better spot potential
bugs in the Jingle File Transfer implementation we are going to disable
HTTP upload during development.
2020-04-20 15:57:29 +02:00
Daniel Gultsch
d51ba1ab55 added libwebrtc 2020-04-20 15:57:29 +02:00
Daniel Gultsch
b5df035c66 pdf renderer might throw security exception on password protected pdf 2020-04-20 15:57:06 +02:00
Daniel Gultsch
2827637fb7 dont crash when fields names in caps are null 2020-04-20 15:53:52 +02:00
Daniel Gultsch
e1b84e1a32 change wording of previous commit 2020-03-31 19:49:08 +02:00
Daniel Gultsch
d59de729e0 display toast when trying to join channel with no enabled accounts 2020-03-31 19:46:05 +02:00
Daniel Gultsch
27742444f4 fixed typo. closes #3667 2020-03-31 11:18:16 +02:00
Daniel Gultsch
bf461579cd conversations’ own backup makes system backup obsolete
closes #3666
2020-03-29 22:37:59 +02:00
Daniel Gultsch
dbc14ed55e pulled translations from transifex 2020-03-28 10:13:27 +01:00
Daniel Gultsch
f8ff107afe close FileInputStream in MTM. fixes #1150 2020-03-26 08:25:22 +01:00
Daniel Gultsch
738284cd92 update some dependencies 2020-03-20 12:59:30 +01:00
Daniel Gultsch
023091133b pulled translations from transifex 2020-03-20 12:59:14 +01:00
Daniel Gultsch
843e779a0c clarify foreground notification for fdroid users 2020-03-19 09:51:32 +00:00
Daniel Gultsch
6abb80d12e add jfif and jif as jpeg mime types 2020-03-12 21:28:54 +01:00
Daniel Gultsch
95c98652f4 version bump to 2.7.1 + changelog 2020-03-10 11:54:11 +01:00
Daniel Gultsch
32518e639d explicitly use BouncyCastle for file crypto 2020-03-09 19:12:30 +01:00
Daniel Gultsch
ef3878e5d9 fixed typo 2020-03-09 15:06:21 +01:00
Daniel Gultsch
8435b42992 modify 'create backup' faq entry 2020-03-08 21:10:58 +01:00
Daniel Gultsch
36c033527e 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
4ff7ba6996 pulled translations from transifex 2020-03-07 23:15:43 +01:00
Daniel Gultsch
cbcdcdd7bd momentarily go back to 16 byte IVs
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.
2020-03-07 18:33:29 +01:00
Daniel Gultsch
d8001948c7 avoid bundled source selection that comes with ImageCropper on Android 10 2020-03-05 13:17:18 +01:00
Daniel Gultsch
642bf43176 when setting moderated also set non standard field to not make users participants by default 2020-03-02 11:11:23 +01:00
Daniel Gultsch
6720d80574 do not merge oob messages 2020-03-02 11:10:38 +01:00
genofire
8a496e33f6 fix typo (#3646)
sorry, this makes me crazy
2020-02-29 15:02:36 +01:00
Daniel Gultsch
36caee810d fixed typo in resolver that cause hostnames not to be marked as authenticated (with DNSSec)
usually this wasn’t a problem as this is only the fallback after no IPs
have been discovered.

this also isn‘t a security issue as worst case is the hostname doesn’t get
accepeted as fallback in cert validation.

thanks @genofire for spotting this
2020-02-29 12:55:54 +01:00
genofire
2814f6f493 [BUGFIX] crash on resolve.toString if hostname is null (#3635) 2020-02-29 10:14:52 +01:00
Daniel Gultsch
73e039d609 Fixed link to group chat. closes #3624 2020-02-29 08:21:50 +00:00
Daniel Gultsch
0433a98871 version bump to 2.7.0 + changelog 2020-02-19 19:55:36 +01:00
Daniel Gultsch
bc2d711d90 pulled translations from transifex 2020-02-19 19:49:38 +01:00
Daniel Gultsch
7c74027bad version bump to 2.7.0-beta 2020-02-17 11:14:11 +01:00
Daniel Gultsch
8d395c13e1 switch to sending 12 byte IVs 2020-02-17 11:13:38 +01:00
Daniel Gultsch
f6b5d3e3ec pulled translations from transifex 2020-02-17 11:13:18 +01:00
Daniel Gultsch
57e37afbb5 hide local part of group chat xmpp address 2020-02-17 11:10:41 +01:00
Daniel Gultsch
2a290ffc8d prevent sharing of xmpp uri for group chat bookmarks 2020-02-16 17:30:54 +01:00
Daniel Gultsch
fd3d7c4d43 do not warn user if bookmark already exists
fixes #3631
2020-02-16 16:04:45 +01:00
Daniel Gultsch
c91fe1d8f0 show pdf previews in media browser
fixes #3639
2020-02-14 16:02:15 +01:00