aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/crypto (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-26don’t mark pgp encrypted files received from dino as deletedChristian Schneppe1-0/+3
2019-09-29delete omemo keys when deleting accountChristian Schneppe1-2/+10
2019-09-20improved logging for messages waiting for joinChristian Schneppe1-1/+1
2019-09-20migrate to AndroidXChristian Schneppe3-5/+5
2019-09-19do not finish or repair sessions for untrusted sendersChristian Schneppe1-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.
2019-09-12when parsing omemo messages ensure we only find one elementChristian Schneppe1-1/+1
2019-09-12show language in message bubble if multiple language variants were receivedChristian Schneppe1-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.
2019-09-03fix some crashesChristian Schneppe5-10/+51
2019-08-31made domain verifier case insensitive.Christian Schneppe1-9/+10
2019-07-01attempt to unregister when receiving push for channel no longer joinedChristian Schneppe1-5/+5
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-05-03introduced type private_file_message to handle attachments in PMsChristian Schneppe1-1/+1
2019-02-21be sure that default omemo encryption is set offChristian Schneppe1-3/+3
2019-02-08optimize importsChristian Schneppe2-2/+0
2019-02-08hide lock icon in channels; modify muc user contextChristian Schneppe1-34/+0
2019-01-25explicitly set type=images for all media with an image mime type this is in ↵Christian Schneppe1-1/+1
preperation to be able to query the database for all images
2019-01-25check if encrypted pgp file get deletedChristian Schneppe1-1/+1
2019-01-25mark deleted files in database and not query them when querying for mediaChristian Schneppe1-1/+3
2019-01-24put images into MessageStyle notificationsChristian Schneppe1-2/+6
2019-01-07handle decrypting/encrypting of omemo messages with duplicate device idsChristian Schneppe2-43/+77
2018-12-14fixed dead lock when sending pgp messages from quick replyChristian Schneppe1-1/+1
2018-12-14postpone prekey removal and republish to after mamChristian Schneppe2-10/+34
2018-12-04implement self healing omemoChristian Schneppe4-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.
2018-11-30set access model to open when publishing avatarChristian Schneppe1-10/+9
2018-11-15do not show up navigation in start conversation screen if called with view ↵Christian Schneppe1-3/+7
intent
2018-11-08improve openkeychain error reportingChristian Schneppe1-4/+14
2018-10-20use bouncycastle provider up to api 27Christian Schneppe1-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
2018-10-20go back to 16 byte IVs for OMEMOChristian Schneppe2-13/+13
clients like Dino can’t handle 12 byte IVs
2018-10-04added a few TODOs in regards to the handling of inactive devicesChristian Schneppe2-2/+4
2018-10-04prevent race condition when fetching device idsChristian Schneppe2-43/+47
2018-10-04use 12 byte IV for omemo and http uploadChristian Schneppe1-1/+1
2018-10-04refresh ui after device list update only if list has changedChristian Schneppe1-2/+11
2018-10-02made xmpp domain verifier verify wildcard domains where domain is a sub.sub ↵Christian Schneppe1-58/+65
domain
2018-10-01fixed authChristian Schneppe1-8/+8
2018-10-01Fix auth when upgrading from SCRAM-SHA-1 to -256Christian Schneppe1-52/+52
2018-09-26do not use BC provider on android 22+Christian Schneppe1-2/+3
2018-07-09open trust key screen when download is in progressChristian Schneppe1-1/+1
2018-06-29do not include white listed domains in room listChristian Schneppe1-1/+1
2018-06-01OMEMO: remove omemo device from own list if bundle is brokenChristian Schneppe1-70/+80
2018-05-17do not include body in simple status updates to not trigger fts updateChristian Schneppe1-1/+1
2018-05-16make session completion work with untrusted devices as wellChristian Schneppe3-7/+11
2018-05-05improved logging for node configuration changeChristian Schneppe1-4/+9
2018-05-02do not invoke onPushFailed() on timeoutChristian Schneppe1-4/+9
2018-04-30very much unoptimized search functionalityChristian Schneppe2-2/+2
2018-04-24code cleanup in AxolotlService.fetchDeviceIds()Christian Schneppe1-25/+29
2018-04-24load currently open conversation fasterChristian Schneppe1-1/+0
2018-04-23make error message for 'not encrypted for this device'Christian Schneppe1-2/+9
2018-04-23create dedicated exception for not encrypted for this deviceChristian Schneppe2-1/+36
2018-04-13introduced tri state omemo setting (off by default, on by default, always)Christian Schneppe1-0/+74
2018-04-12figure out fallbacks with omemo source idChristian Schneppe2-0/+29
2018-04-08offer a more convienient way to disable omemo from trust keys dialogChristian Schneppe1-26/+43