Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Follow OMEMO policy even when opening window on message and carbon reception | Paul Fariello | 2019-04-17 | 1 | -0/+14 |
| | | | | This should close #1052 | ||||
* | Handle MUC anonymous state when auto starting OMEMO | Paul Fariello | 2019-04-17 | 2 | -3/+15 |
| | | | | | | | When auto joining a MUC we don't have access to required information so we just don't start OMEMO at this time. Once we receive disco info we then try to start OMEMO. | ||||
* | Handle missing real jid in OMEMO encrypted MUC | Paul Fariello | 2019-04-17 | 1 | -3/+7 |
| | | | | | | | This should never happens since we should ensure MUC is Non-Anonymous before enabling OMEMO. But we should neither segfault if this happens. | ||||
* | Add OMEMO policy | Paul Fariello | 2019-04-17 | 17 | -23/+253 |
| | | | | | | | | | | | | There is 3 policy: - manual: OMEMO session are only started manually - automatic: OMEMO session are only started if they have been started manually before - always: OMEMO session are always started unless they have been ended manually before Closes #1040 and fixes #1052 | ||||
* | Merge pull request #1066 from ↵ | Michael Vetter | 2019-04-17 | 3 | -6/+33 |
|\ | | | | | | | | | paulfariello/hotfix/OMEMO-ensure-muc-is-nonanonymous Ensure MUC is Non-Anonymous before starting OMEMO | ||||
| * | Ensure MUC is Non-Anonymous before starting OMEMO | Paul Fariello | 2019-04-17 | 3 | -6/+33 |
| | | | | | | | | | | | | Store MUC anonymous type in mucwin for that purpose. Fixes #1065 | ||||
* | | Alert about long OMEMO cryptographic generation | Paul Fariello | 2019-04-17 | 1 | -0/+1 |
|/ | | | | Fixes #1055 | ||||
* | Merge pull request #1061 from ↵ | Michael Vetter | 2019-04-15 | 1 | -1/+1 |
|\ | | | | | | | | | paulfariello/hotfix/handle-message-without-id-in-muc Handle message without id in MUC | ||||
| * | Handle message without id in MUC | Paul Fariello | 2019-04-14 | 1 | -1/+1 |
| | | | | | | | | Some clients seems to send message without id. | ||||
* | | Don't persist OMEMO {signed,}prekey cleaning on disconnect | Paul Fariello | 2019-04-14 | 1 | -10/+0 |
| | | | | | | | | | | We should not remove signed prekey and prekey from persistent storage when cleaning OMEMO store on disconnect. | ||||
* | | Handle malformed OMEMO identity.txt | Paul Fariello | 2019-04-14 | 1 | -7/+34 |
| | | | | | | | | | | If OMEMO identity.txt is malformed just abort loading. User should be able to call `/omemo gen` again. | ||||
* | | Don't unload OMEMO cryto on disconnect if OMEMO wasn't loaded | Paul Fariello | 2019-04-14 | 1 | -0/+4 |
|/ | | | | | | | If OMEMO wasn't loaded, removing key would create empty identity.txt file. Then at load time it would segfault profanity. Another commit should fix load of malformed identity.txt. | ||||
* | Add random string at the end of the default resource | Paul Fariello | 2019-04-12 | 4 | -3/+27 |
| | | | | | | | | When connecting for the first time or when creating a new account don't use only 'profanity' as default resource. Some server don't support having 2 connection with same resource. Using profanity as default lead to deconnections. | ||||
* | Support contact name in /omemo fingerprint command | Paul Fariello | 2019-04-10 | 1 | -4/+9 |
| | |||||
* | Fix issue with first encrypted message | Paul Fariello | 2019-04-10 | 1 | -1/+5 |
| | | | | | | | | When decrypting first message with prekey, libsignal wants to remove used prekey from storage. Return value on success should be 0. We used to return number of deleted keys. Thus libsignal was considering we failed to remove the key and we were ignoring plaintext. | ||||
* | Try to start sessions with every jid in roster | Paul Fariello | 2019-04-10 | 3 | -0/+22 |
| | |||||
* | OMEMO should be written uppercase | Paul Fariello | 2019-04-10 | 1 | -10/+10 |
| | |||||
* | Fix build on travis | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Add /omemo char command | Paul Fariello | 2019-04-10 | 3 | -1/+25 |
| | |||||
* | Automatically starts OMEMO if one identity is trusted | Paul Fariello | 2019-04-10 | 3 | -6/+74 |
| | |||||
* | Rework trusted fingerprint storage | Paul Fariello | 2019-04-10 | 4 | -29/+90 |
| | | | | | Stop using "jid:device_id" keys. And move long term storage to its own file: trust.txt. | ||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 9 | -10/+58 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Prefix static function with _ | Paul Fariello | 2019-04-10 | 1 | -41/+41 |
| | |||||
* | Ensure pre keys are generated if missing from long term storage | Paul Fariello | 2019-04-10 | 1 | -24/+51 |
| | |||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 12 | -22/+58 |
| | | | | | | | | | Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza. | ||||
* | Add OMEMO in prefs command | Paul Fariello | 2019-04-10 | 5 | -2/+33 |
| | |||||
* | Fix devicelist notification handler | Paul Fariello | 2019-04-10 | 2 | -6/+5 |
| | | | | devicelist handler should be kept after trigger | ||||
* | Add clear_device_list command | Paul Fariello | 2019-04-10 | 4 | -4/+28 |
| | |||||
* | Permanently store pre keys | Paul Fariello | 2019-04-10 | 3 | -22/+119 |
| | |||||
* | Add support for missing from in bundle iq | Paul Fariello | 2019-04-10 | 1 | -3/+9 |
| | |||||
* | Handle bundle publication error on publish-options | Paul Fariello | 2019-04-10 | 5 | -23/+166 |
| | | | | | We try to reconfigure node and publish again. If it fails again then we give up. | ||||
* | Ensure signal context is built on connection | Paul Fariello | 2019-04-10 | 1 | -20/+23 |
| | | | | | We can't keep it between two connection because signal context is specific to a given account. | ||||
* | Don't use glib 2.58 func | Paul Fariello | 2019-04-10 | 1 | -3/+1 |
| | |||||
* | Ensure encrypted carbon of own message are marked as encrypted | Paul Fariello | 2019-04-10 | 4 | -4/+42 |
| | |||||
* | Show all device fingerprint for current account | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | Print fingerprint after trust and untrust command | Paul Fariello | 2019-04-10 | 1 | -0/+34 |
| | |||||
* | Temporarly disable check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | |||||
* | Add fingerprint autocompletion | Paul Fariello | 2019-04-10 | 3 | -1/+49 |
| | |||||
* | Use /omemo fingerprint to show contact fingerprints | Paul Fariello | 2019-04-10 | 5 | -32/+96 |
| | | | | Don't print fingerprints when they are received | ||||
* | Use connection_support to check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | |||||
* | Add OMEMO log command | Paul Fariello | 2019-04-10 | 4 | -0/+49 |
| | |||||
* | Add missing preferences for OMEMO logs | Paul Fariello | 2019-04-10 | 1 | -0/+6 |
| | |||||
* | Add support for disconnect in OMEMO | Paul Fariello | 2019-04-10 | 7 | -40/+140 |
| | |||||
* | Add OMEMO end command | Paul Fariello | 2019-04-10 | 4 | -0/+46 |
| | |||||
* | Handle absent muc member | Paul Fariello | 2019-04-10 | 1 | -0/+4 |
| | |||||
* | Revert "Ensure room isn't anonymous" | Paul Fariello | 2019-04-10 | 2 | -5/+0 |
| | | | | This reverts commit 733e1a24c7e08dde6aa2c15ec4528220aa360845. | ||||
* | Add publish option to OMEMO device list and bundle | Paul Fariello | 2019-04-10 | 4 | -0/+57 |
| | |||||
* | Ensure room isn't anonymous | Paul Fariello | 2019-04-10 | 2 | -0/+5 |
| | |||||
* | Add OMEMO state in titlebar in MUC | Paul Fariello | 2019-04-10 | 1 | -0/+15 |
| | |||||
* | Add OMEMO state in titlebar | Paul Fariello | 2019-04-10 | 1 | -0/+15 |
| |