Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 1 | -15/+62 |
| | | | | | | | | | | | | 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 | ||||
* | 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. | ||||
* | Try to start sessions with every jid in roster | Paul Fariello | 2019-04-10 | 1 | -0/+17 |
| | |||||
* | Automatically starts OMEMO if one identity is trusted | Paul Fariello | 2019-04-10 | 1 | -6/+23 |
| | |||||
* | Rework trusted fingerprint storage | Paul Fariello | 2019-04-10 | 1 | -20/+71 |
| | | | | | 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 | 1 | -7/+14 |
| | | | | 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 |
| | |||||
* | Permanently store pre keys | Paul Fariello | 2019-04-10 | 1 | -20/+76 |
| | |||||
* | Handle bundle publication error on publish-options | Paul Fariello | 2019-04-10 | 1 | -2/+2 |
| | | | | | 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 |
| | |||||
* | Add fingerprint autocompletion | Paul Fariello | 2019-04-10 | 1 | -1/+21 |
| | |||||
* | Use /omemo fingerprint to show contact fingerprints | Paul Fariello | 2019-04-10 | 1 | -27/+44 |
| | | | | Don't print fingerprints when they are received | ||||
* | Add support for disconnect in OMEMO | Paul Fariello | 2019-04-10 | 1 | -23/+75 |
| | |||||
* | Handle absent muc member | Paul Fariello | 2019-04-10 | 1 | -0/+4 |
| | |||||
* | Log and print outgoing encrypted message | Paul Fariello | 2019-04-10 | 1 | -38/+34 |
| | |||||
* | Add support for sending encrypted message in MUC | Paul Fariello | 2019-04-10 | 1 | -40/+87 |
| | |||||
* | Cosmetics rename variable barejid into roomjid | Paul Fariello | 2019-04-10 | 1 | -2/+2 |
| | |||||
* | Allow to start OMEMO in MUC | Paul Fariello | 2019-04-10 | 1 | -0/+13 |
| | |||||
* | Add MUC message decryption | Paul Fariello | 2019-04-10 | 1 | -14/+44 |
| | |||||
* | Fix prekey handling after first use | Paul Fariello | 2019-04-10 | 1 | -8/+7 |
| | | | | libsignal will remove prekey on its own. | ||||
* | device_list iq should be from barejid or none | Paul Fariello | 2019-04-10 | 1 | -5/+8 |
| | | | | | | | 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 logs about crypto generation | Paul Fariello | 2019-04-10 | 1 | -0/+4 |
| | |||||
* | Log device_id on startup | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Don't rely on account name being jid | Paul Fariello | 2019-04-10 | 1 | -2/+2 |
| | |||||
* | Add hints about trust command when printing fingerprints | Paul Fariello | 2019-04-10 | 1 | -1/+11 |
| | |||||
* | Avoid using xmpp_jid_bare | Paul Fariello | 2019-04-10 | 1 | -27/+20 |
| | |||||
* | Add OMEMO untrust command | Paul Fariello | 2019-04-10 | 1 | -0/+22 |
| | |||||
* | Allow to trust own device id | Paul Fariello | 2019-04-10 | 1 | -0/+9 |
| | |||||
* | Add trust command | Paul Fariello | 2019-04-10 | 1 | -38/+206 |
| | |||||
* | Don't trust unknown identity keys | Paul Fariello | 2019-04-10 | 1 | -50/+91 |
| | | | | | Also add long terme storage of known identity keys. If a key is stored it means it is trusted. | ||||
* | Add OMEMO fingerprint command | Paul Fariello | 2019-04-10 | 1 | -0/+51 |
| | |||||
* | Add OMEMO session long term storage | Paul Fariello | 2019-04-10 | 1 | -30/+85 |
| | |||||
* | Replace used prekey in bundle | Paul Fariello | 2019-04-10 | 1 | -1/+16 |
| | |||||
* | Start new session upon prekey reception | Paul Fariello | 2019-04-10 | 1 | -0/+1 |
| | |||||
* | Randomly choose a prekey on session build | Paul Fariello | 2019-04-10 | 1 | -8/+26 |
| | |||||
* | Check received gcm tag | Paul Fariello | 2019-04-10 | 1 | -1/+11 |
| | |||||
* | Follow xep by putting gcm tag on encrypted key | Paul Fariello | 2019-04-10 | 1 | -7/+17 |
| | |||||
* | Get rid of libsodium | Paul Fariello | 2019-04-10 | 1 | -9/+11 |
| | |||||
* | Add log on OMEMO session start | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | |||||
* | Use profanity logs for OMEMO logs | Paul Fariello | 2019-04-10 | 1 | -1/+15 |
| | |||||
* | Add support for encrypted carbon | Paul Fariello | 2019-04-10 | 1 | -24/+79 |
| | | | | Fix {signed,}_pre_key store | ||||
* | Handle requested device list for session start | Paul Fariello | 2019-04-10 | 1 | -7/+41 |
| | |||||
* | Add OMEMO identity materials long term storage | Paul Fariello | 2019-04-10 | 1 | -4/+93 |
| | |||||
* | Add OMEMO message encryption and decryption | Paul Fariello | 2019-04-10 | 1 | -7/+165 |
| | |||||
* | Create signal session | Paul Fariello | 2019-04-10 | 1 | -2/+17 |
| |