Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | OMEMO: Check if ID is present before using it | Michael Vetter | 2019-04-24 | 1 | -1/+5 |
| | | | | Fixes https://github.com/boothj5/profanity/issues/1079 | ||||
* | Handle presence received before roster | Paul Fariello | 2019-04-17 | 2 | -0/+44 |
| | | | | | | | | | | Presence of contact not found in roster are filtered out. But sometimes roster is received after a first few presences. We choose to store presences until we receive roster and then process this presences. Fixes #1050 | ||||
* | Handle MUC anonymous state when auto starting OMEMO | Paul Fariello | 2019-04-17 | 1 | -2/+14 |
| | | | | | | | 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. | ||||
* | Ensure MUC is Non-Anonymous before starting OMEMO | Paul Fariello | 2019-04-17 | 2 | -0/+27 |
| | | | | | | Store MUC anonymous type in mucwin for that purpose. Fixes #1065 | ||||
* | Add random string at the end of the default resource | Paul Fariello | 2019-04-12 | 3 | -1/+23 |
| | | | | | | | | 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. | ||||
* | Fix build on travis | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Wait for discovery end to publish omemo devicelist and bundle | Paul Fariello | 2019-04-10 | 5 | -3/+34 |
| | | | | Add sv_ev_connection_features_received for that purpose | ||||
* | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 4 | -5/+33 |
| | | | | | | | | | 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. | ||||
* | Fix devicelist notification handler | Paul Fariello | 2019-04-10 | 2 | -6/+5 |
| | | | | devicelist handler should be kept after trigger | ||||
* | 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 | 4 | -21/+164 |
| | | | | | We try to reconfigure node and publish again. If it fails again then we give up. | ||||
* | Ensure encrypted carbon of own message are marked as encrypted | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | Temporarly disable check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | |||||
* | Use connection_support to check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | |||||
* | Add support for disconnect in OMEMO | Paul Fariello | 2019-04-10 | 3 | -13/+46 |
| | |||||
* | Revert "Ensure room isn't anonymous" | Paul Fariello | 2019-04-10 | 1 | -1/+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 | 1 | -0/+1 |
| | |||||
* | Log and print outgoing encrypted message | Paul Fariello | 2019-04-10 | 1 | -2/+5 |
| | |||||
* | Add support for sending encrypted message in MUC | Paul Fariello | 2019-04-10 | 2 | -5/+11 |
| | |||||
* | Ensure saved_account is set before calling sv_ev_login_account_success | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | Add MUC message decryption | Paul Fariello | 2019-04-10 | 2 | -7/+14 |
| | |||||
* | device_list iq should be from barejid or none | Paul Fariello | 2019-04-10 | 2 | -28/+17 |
| | | | | | | | Ensure we request device_list and remove non conforming handling of responses. Move initialisation of iq_handlers before call to sv_ev_login_account_success | ||||
* | Add store hints for OMEMO encrypted messages | Paul Fariello | 2019-04-10 | 3 | -0/+15 |
| | | | | | | | | | Store hints are required has some server might discard messages without body. Here we ensure OMEMO messages are stored on server and delivered to client when they connect back. It's really important since it avoid libsignal to desynchronize counters. | ||||
* | Add support for libsignal-protocol-c 2.3.2 | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | Randomly choose a prekey on session build | Paul Fariello | 2019-04-10 | 1 | -19/+22 |
| | |||||
* | Remove hints preventing carbons to work properly | Paul Fariello | 2019-04-10 | 1 | -3/+0 |
| | |||||
* | Don't explicitely disable carbons for OMEMO messages | Paul Fariello | 2019-04-10 | 1 | -1/+0 |
| | |||||
* | Add support for encrypted carbon | Paul Fariello | 2019-04-10 | 2 | -5/+15 |
| | | | | Fix {signed,}_pre_key store | ||||
* | Follow normal workflow for OMEMO message reception | Paul Fariello | 2019-04-10 | 3 | -116/+107 |
| | | | | | | We try to decrypt all messages, if it's successful we use sv_ev_incoming_message even for OMEMO messages. We pass an OMEMO boolean to let UI be aware that message were encrypted. | ||||
* | Add chat session state to OMEMO message stanza | Paul Fariello | 2019-04-10 | 1 | -0/+5 |
| | |||||
* | Add default body on OMEMO message | Paul Fariello | 2019-04-10 | 1 | -0/+8 |
| | |||||
* | Add OMEMO message encryption and decryption | Paul Fariello | 2019-04-10 | 3 | -3/+205 |
| | |||||
* | Create signal session | Paul Fariello | 2019-04-10 | 1 | -3/+47 |
| | |||||
* | Add signal store backend and OMEMO start command | Paul Fariello | 2019-04-10 | 4 | -1/+104 |
| | |||||
* | Request for device list when OMEMO is ready | Paul Fariello | 2019-04-10 | 4 | -3/+49 |
| | |||||
* | Fix devicelist subscription and handle pubsub event | Paul Fariello | 2019-04-10 | 7 | -33/+81 |
| | | | | Devicelist subscription can be done directly with caps_add feature. | ||||
* | Add pubsub event callback | Paul Fariello | 2019-04-10 | 3 | -0/+65 |
| | | | | Also add generic message callback struct | ||||
* | Rename ProfIdCallback into ProfIqCallback | Paul Fariello | 2019-04-10 | 3 | -17/+17 |
| | | | | Goal is to create other kind of callback no based on id cmp | ||||
* | Add devicelist and bundle publication | Paul Fariello | 2019-04-10 | 5 | -6/+198 |
| | |||||
* | Add devicelist subscription | Paul Fariello | 2019-04-10 | 5 | -0/+50 |
| | |||||
* | XEP-0027: Mention XEP in message body | Michael Vetter | 2019-02-20 | 1 | -1/+1 |
| | | | | With all the different kinds of encryption (OMEMO, OTR3 OTR4, PGP in XEP-0027 and XEP-0373) it might be helpful to know which kind of encryption is used. | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 37 | -37/+37 |
| | |||||
* | Fix optionnal sessionid in xep 0050 | Paul Fariello | 2019-01-21 | 2 | -2/+9 |
| | |||||
* | Add option to trust server's certificate | Dmitry Podgorny | 2018-11-06 | 1 | -0/+3 |
| | | | | | | | | | | | New tls policy "trust" added to /connect and /account. With the policy TLS connection is established even with invalid certificate. Note, that trust policy forces TLS connection and it fails when server doesn't support TLS. Examples: /connect <jid> tls trust /account <name> set tls trust | ||||
* | Merge pull request #991 from paulfariello/feature/xep-0050 | Michael Vetter | 2018-09-27 | 8 | -32/+327 |
|\ | | | | | Add support for xep 0050 ad-hoc commands, without multi-step | ||||
| * | Make _get_groups_from_item and roster _compare_* public | Paul Fariello | 2018-09-26 | 5 | -31/+19 |
| | | | | | | | | In order to avoid duplication with xep 0133 support in command execution | ||||
| * | Add special handling for xep-0133 get-user-roster | Paul Fariello | 2018-09-10 | 1 | -3/+42 |
| | | |||||
| * | Add support for ad-hoc response with forms | Paul Fariello | 2018-09-10 | 1 | -0/+6 |
| | | |||||
| * | Add missing command name for completion log | Paul Fariello | 2018-09-10 | 1 | -1/+1 |
| | |