aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/crypto/axolotl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* explicitly use BouncyCastle for file cryptoChristian Schneppe2020-03-161-1/+1
|
* set IqPacket publish in AxolotlService finalChristian Schneppe2020-03-161-1/+1
|
* optimize importsChristian Schneppe2020-01-311-1/+2
|
* omemo changes: use 12 byte IV, no longer accept auth tag appended to payloadChristian Schneppe2020-01-243-316/+291
|
* prevent crash when deleting account on servers that don't support omemoChristian Schneppe2019-12-081-1/+2
|
* delete omemo keys when deleting accountChristian Schneppe2019-09-291-2/+10
|
* improved logging for messages waiting for joinChristian Schneppe2019-09-201-1/+1
|
* migrate to AndroidXChristian Schneppe2019-09-202-4/+4
|
* do not finish or repair sessions for untrusted sendersChristian Schneppe2019-09-191-12/+32
| | | | | | | | | finishing (sending a key transport message in response to pre key message) as well as reparing sessions will leak resource and availability and might in certain situations in group chat leak the Jabber ID. Therefor we disable that. Leaking resource might not be considered harmful by a lot of people however we have always doing similar things with receipts.
* when parsing omemo messages ensure we only find one elementChristian Schneppe2019-09-121-1/+1
|
* show language in message bubble if multiple language variants were receivedChristian Schneppe2019-09-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XML and by inheritence XMPP has the feature of transmitting multiple language variants for the same content. This can be really useful if, for example, you are talking to an automated system. A chat bot could greet you in your own language. On the wire this will usually look like this: ```xml <message to="you"> <body>Good morning</body> <body xml:lang="de">Guten Morgen</body> </message> ``` However receiving such a message in a group chat can be very confusing and potentially dangerous if the sender puts conflicting information in there and different people get shown different strings. Disabling support for localization entirely isn’t an ideal solution as on principle it is still a good feature; and other clients might still show a localization even if Conversations would always show the default language. So instead we now show the displayed language in a corner of the message bubble if more than one translation has been received. If multiple languages are received we will attempt to find one in the language the operating system is set to. If no such translation can be found it will attempt to display the English string. If English can not be found either (for example a message that only has ru and fr on a phone that is set to de) it will display what ever language came first. Furthermore we will discard (not show at all) messages with with multiple bodies of the same language. (This is considered an invalid message) The language tag will not be shown if we receive a single body in a language not understood by the user. (For example operating system set to 'de' and message received with one body in 'ru' will just display that body as usual.) As a guide line to the user: If you are reading a message where it is important that this message is not interpreted differently by different people (like a vote (+1 / -1) in a chat room) make sure it has *no* language tag.
* fix some crashesChristian Schneppe2019-09-033-8/+45
|
* introduced type private_file_message to handle attachments in PMsChristian Schneppe2019-05-031-1/+1
|
* optimize importsChristian Schneppe2019-02-082-2/+0
|
* hide lock icon in channels; modify muc user contextChristian Schneppe2019-02-081-34/+0
|
* handle decrypting/encrypting of omemo messages with duplicate device idsChristian Schneppe2019-01-072-43/+77
|
* postpone prekey removal and republish to after mamChristian Schneppe2018-12-142-10/+34
|
* implement self healing omemoChristian Schneppe2018-12-044-14/+105
| | | | | | after receiving a SignalMessage that can’t be decrypted because of broken sessions Conversations will attempt to grab a new pre key bundle and send a new PreKeySignalMessage wrapped in a key transport message.
* set access model to open when publishing avatarChristian Schneppe2018-11-301-10/+9
|
* use bouncycastle provider up to api 27Christian Schneppe2018-10-201-2/+2
| | | | | | | apparently using conscrypt on Android below version 7? throws an exception when using 16 byte IVs. so we now use BC when ever possible (excluding api 28) we don’t know why Conscrypt behaves differently on various android versions
* go back to 16 byte IVs for OMEMOChristian Schneppe2018-10-202-13/+13
| | | | clients like Dino can’t handle 12 byte IVs
* added a few TODOs in regards to the handling of inactive devicesChristian Schneppe2018-10-042-2/+4
|
* prevent race condition when fetching device idsChristian Schneppe2018-10-042-43/+47
|
* use 12 byte IV for omemo and http uploadChristian Schneppe2018-10-041-1/+1
|
* refresh ui after device list update only if list has changedChristian Schneppe2018-10-041-2/+11
|
* do not use BC provider on android 22+Christian Schneppe2018-09-261-2/+3
|
* open trust key screen when download is in progressChristian Schneppe2018-07-091-1/+1
|
* do not include white listed domains in room listChristian Schneppe2018-06-291-1/+1
|
* OMEMO: remove omemo device from own list if bundle is brokenChristian Schneppe2018-06-011-70/+80
|
* make session completion work with untrusted devices as wellChristian Schneppe2018-05-163-7/+11
|
* improved logging for node configuration changeChristian Schneppe2018-05-051-4/+9
|
* do not invoke onPushFailed() on timeoutChristian Schneppe2018-05-021-4/+9
|
* very much unoptimized search functionalityChristian Schneppe2018-04-301-1/+1
|
* code cleanup in AxolotlService.fetchDeviceIds()Christian Schneppe2018-04-241-25/+29
|
* load currently open conversation fasterChristian Schneppe2018-04-241-1/+0
|
* make error message for 'not encrypted for this device'Christian Schneppe2018-04-231-2/+9
|
* create dedicated exception for not encrypted for this deviceChristian Schneppe2018-04-232-1/+36
|
* figure out fallbacks with omemo source idChristian Schneppe2018-04-122-0/+29
|
* offer a more convienient way to disable omemo from trust keys dialogChristian Schneppe2018-04-081-26/+43
|
* migrate to xmpp-addrChristian Schneppe2018-04-024-82/+84
|
* encrypt muc PM only to actual recipientChristian Schneppe2018-01-271-5/+23
|
* improvements for self messagesChristian Schneppe2018-01-271-2/+7
| | | | | | * fix omemo in group chats w/o participants * don't create two axolotl messages when messaging self * fix read marker for self messages
* allow axolotl header to be empty in empty mucsChristian Schneppe2018-01-271-4/+4
|
* make chat markers opportunistic in private mucsChristian Schneppe2018-01-271-2/+2
|
* disable offline messages. postpone prekey handling until after mam catchupChristian Schneppe2018-01-211-3/+33
|
* properly handle key transport messages. use prekeyparsing only when that ↵Christian Schneppe2018-01-213-36/+38
| | | | attribute is set
* show pep as available if omemo_all_access has been installed on serverChristian Schneppe2017-12-271-0/+1
|
* fixed omemo device list not getting annouced on empty listChristian Schneppe2017-12-271-1/+1
|
* fixup for pep omemo notification dedupChristian Schneppe2017-12-161-4/+6
|
* fixed workaround that allowed us to expire devicesChristian Schneppe2017-12-161-7/+8
|