Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright | Michael Vetter | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | Refactor for threaded external executable for built-in download methods | William Wennerström | 2020-12-03 | 1 | -1/+0 |
| | |||||
* | Explicitly clear fragment from HTTP URL | William Wennerström | 2020-11-16 | 1 | -0/+6 |
| | |||||
* | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 1 | -2/+3 |
| | |||||
* | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 1 | -7/+99 |
| | |||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 1 | -5/+8 |
| | |||||
* | Move file encryption function to public header | William Wennerström | 2020-11-16 | 1 | -0/+32 |
| | |||||
* | Since the string from strerror should never be modified, use const. | Philipp Klaus Krause | 2020-10-14 | 1 | -1/+1 |
| | |||||
* | Free errors after they have been printed | William Wennerström | 2020-07-10 | 1 | -0/+4 |
| | |||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -269/+268 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -271/+272 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -272/+271 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Merge branch 'master' of github.com:profanity-im/profanity | Michael Vetter | 2020-07-04 | 1 | -11/+13 |
|\ | |||||
| * | Merge pull request #1387 from DebXWoody/bugfix/1332-omemo | Michael Vetter | 2020-07-04 | 1 | -11/+13 |
| |\ | | | | | | | Request Device and Key, when OMEMO is in use | ||||
| | * | Request Device and Key, when OMEMO is in use | DebXWoody | 2020-06-04 | 1 | -11/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | Profanity requests the device list and keys for contacts, also when the user hasn't generated the OMEMO key. If the user has no OMEMO key, there is no need to request OMEMO information. Issue: #1332 | ||||
* | | | Merge branch 'omemofix' | Michael Vetter | 2020-07-04 | 1 | -1/+0 |
|\ \ \ | |/ / |/| | | |||||
| * | | Messages are not shown in ChatSecure | DebXWoody | 2020-07-04 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | In 0.9.x we fixed an issue, because OMEMO devices should be defined in "item" with id "current". This should work, but it won't work if there is no "current". If there is no "current" we will just use the first item. Issue #1384 | ||||
* | | | Remove prefs_free_string() | Michael Vetter | 2020-07-02 | 1 | -1/+1 |
|/ / | | | | | | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef | ||||
* / | Use files_get_account_data_path instead of duplicate code | Michael Vetter | 2020-07-01 | 1 | -21/+14 |
|/ | | | | | We often had a use case where we want the account specific data dir. Let's create a function for this instead of doing it by hand each time. | ||||
* | Add and use connection_get_barejid() | Michael Vetter | 2020-05-25 | 1 | -4/+4 |
| | | | | Instead of connection_get_fulljid() and then creating a Jid from it. | ||||
* | Expand omemo error message | Michael Vetter | 2020-02-21 | 1 | -2/+2 |
| | |||||
* | xep-0308: enable corrections for outgoing encrypted messages | Michael Vetter | 2020-02-12 | 1 | -3/+3 |
| | |||||
* | Add context to autocomplete_with_func and use it for omemo trust command | Paul Fariello | 2020-01-31 | 1 | -7/+25 |
| | | | | Fix #1068 | ||||
* | Add support for 12 bytes IV | Paul Fariello | 2020-01-20 | 1 | -1/+1 |
| | | | | | | | 16 bytes IV should be used. Some clients can't use it so we should also support decrypting 12 bytes IV. Fix #1253 | ||||
* | Use OMEMO for offline MUC members (#1242) | Paul Fariello | 2020-01-20 | 1 | -21/+11 |
| | |||||
* | Update my Copyright to 2020 | Michael Vetter | 2020-01-03 | 1 | -1/+1 |
| | |||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | omemo: use lower case to log info | Michael Vetter | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | Fix typo in OMEMO materials log | Michael Vetter | 2019-08-23 | 1 | -1/+1 |
| | |||||
* | Fix potential leak in omemo_untrust() | Michael Vetter | 2019-07-23 | 1 | -0/+2 |
| | |||||
* | Remove dead assignments | Michael Vetter | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | Fix various OMEMO memleaks | Paul Fariello | 2019-07-10 | 1 | -2/+2 |
| | |||||
* | Free omemo_ctx.device_list_handler | Michael Vetter | 2019-07-04 | 1 | -0/+1 |
| | |||||
* | Dont initialize omemo autocompleter twice | Michael Vetter | 2019-07-04 | 1 | -2/+0 |
| | | | | | We already do this in omemo_init() no need to do it again in omemo_on_connect(). | ||||
* | Add omemo_close function | Michael Vetter | 2019-07-04 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Mark messages received from a session as trusted | Paul Fariello | 2019-06-25 | 1 | -5/+16 |
| | |||||
* | Add trusted state after OMEMO decryption | Paul Fariello | 2019-06-20 | 1 | -1/+1 |
| | | | | Use it to print message on red background if not trusted. | ||||
* | Decrypt all incoming OMEMO msg | Paul Fariello | 2019-06-20 | 1 | -0/+7 |
| | | | | | Trust all key as long as it's for reading. This code isn't multithread safe. | ||||
* | Free contacts in omemo_start_sessions() | Michael Vetter | 2019-06-19 | 1 | -0/+1 |
| | |||||
* | Free OMEMO session store upon disconnect | Michael Vetter | 2019-06-19 | 1 | -0/+1 |
| | |||||
* | Add copyright to omemo code | Michael Vetter | 2019-06-17 | 1 | -0/+34 |
| | |||||
* | Remove OMEMO session when untrusting a fingerprint | Paul Fariello | 2019-06-07 | 1 | -15/+114 |
| | | | | | | We have to store known_devices in a long term fashion otherwise we might not be able to delete session if it is remove from device list server side. | ||||
* | Correctly handle malformed OMEMO messages | Paul Fariello | 2019-05-23 | 1 | -4/+8 |
| | | | | Fix #1101 | ||||
* | OMEMO: Initialize result in omemo_automatic_start | Michael Vetter | 2019-04-29 | 1 | -1/+1 |
| | | | | | | | | | This is actually not needed because result will always be set. hartmann had problems building profanity on OpenBSD and he proposed this patch. Let's use it to make the compiler happy there. | ||||
* | 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 |
| |