about summary refs log tree commit diff stats
path: root/src/omemo/omemo.h
Commit message (Collapse)AuthorAgeFilesLines
* xep-0308: enable corrections for outgoing encrypted messagesMichael Vetter2020-02-121-1/+1
|
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-311-1/+1
| | | | Fix #1068
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Add omemo_close functionMichael Vetter2019-07-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | We call omemo_init() when starting profanity and should have an omemo_close() at exit. For now we free the fingerprint autocompleter in there. Fixes valgrind: ``` ==13226== 24 bytes in 1 blocks are definitely lost in loss record 2,855 of 6,958 ==13226== at 0x483677F: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==13226== by 0x48AD39: autocomplete_new (autocomplete.c:57) ==13226== by 0x4AB89F: omemo_init (omemo.c:127) ==13226== by 0x42C283: _init (profanity.c:206) ==13226== by 0x42BFF3: prof_run (profanity.c:98) ==13226== by 0x4B25E6: main (main.c:172) ``` Regards https://github.com/profanity-im/profanity/issues/1131
* Add trusted state after OMEMO decryptionPaul Fariello2019-06-201-1/+1
| | | | Use it to print message on red background if not trusted.
* Add copyright to omemo codeMichael Vetter2019-06-171-0/+33
|
* Add OMEMO policyPaul Fariello2019-04-171-1/+7
| | | | | | | | | | | | 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
* Try to start sessions with every jid in rosterPaul Fariello2019-04-101-0/+1
|
* Automatically starts OMEMO if one identity is trustedPaul Fariello2019-04-101-0/+1
|
* Rework trusted fingerprint storagePaul Fariello2019-04-101-0/+2
| | | | | 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 bundlePaul Fariello2019-04-101-0/+1
| | | | Add sv_ev_connection_features_received for that purpose
* Add fingerprint autocompletionPaul Fariello2019-04-101-0/+2
|
* Use /omemo fingerprint to show contact fingerprintsPaul Fariello2019-04-101-0/+2
| | | | Don't print fingerprints when they are received
* Add support for disconnect in OMEMOPaul Fariello2019-04-101-1/+3
|
* Log and print outgoing encrypted messagePaul Fariello2019-04-101-1/+1
|
* Add support for sending encrypted message in MUCPaul Fariello2019-04-101-1/+1
|
* Cosmetics rename variable barejid into roomjidPaul Fariello2019-04-101-1/+1
|
* Allow to start OMEMO in MUCPaul Fariello2019-04-101-0/+1
|
* Add MUC message decryptionPaul Fariello2019-04-101-1/+1
|
* Add OMEMO untrust commandPaul Fariello2019-04-101-0/+1
|
* Add trust commandPaul Fariello2019-04-101-2/+2
|
* Don't trust unknown identity keysPaul Fariello2019-04-101-0/+2
| | | | | Also add long terme storage of known identity keys. If a key is stored it means it is trusted.
* Add OMEMO fingerprint commandPaul Fariello2019-04-101-0/+3
|
* Add OMEMO session long term storagePaul Fariello2019-04-101-0/+2
|
* Randomly choose a prekey on session buildPaul Fariello2019-04-101-1/+2
|
* Get rid of libsodiumPaul Fariello2019-04-101-0/+1
|
* Add OMEMO identity materials long term storagePaul Fariello2019-04-101-0/+1
|
* Add OMEMO message encryption and decryptionPaul Fariello2019-04-101-0/+12
|
* Create signal sessionPaul Fariello2019-04-101-1/+1
|
* Add signal store backend and OMEMO start commandPaul Fariello2019-04-101-2/+4
|
* Ensure received devicelist contains our own device idPaul Fariello2019-04-101-1/+1
|
* Fix devicelist subscription and handle pubsub eventPaul Fariello2019-04-101-1/+3
| | | | Devicelist subscription can be done directly with caps_add feature.
* Add devicelist and bundle publicationPaul Fariello2019-04-101-0/+10
|
* Move OMEMO initialization to profanity intializationPaul Fariello2019-04-101-1/+2
| | | | Also store identity keys into account
* Add signal-protocol lockingPaul Fariello2019-04-081-0/+2
|
* Add crypto backend for signal-protocolPaul Fariello2019-04-081-0/+3