Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | OMEMO - trust mode (#1506) | Stefan | 2021-04-17 | 1 | -0/+36 |
| | | | | | | | Add OMEMO trust mode capabilities. * ToFu / first usage * blind trust * manual | ||||
* | OMEMO: Fail if message keys couldn't be encrypted for any recipient device | Maximilian Wuttke | 2021-04-08 | 1 | -0/+20 |
| | | | | | | | | | If the message (key) can't be encrypted for any device, sending the message is refused and an informative error message is presented to the user. Also, don't encrypt for the same device, since the OMEMO XEP disallows this. | ||||
* | Include config.h in omemo files | Michael Vetter | 2021-03-26 | 2 | -0/+4 |
| | | | | | | | | | So that off_t is defined in all files (so far http_upload.c and http_download.c too) the same way. Fix https://github.com/profanity-im/profanity/issues/1512 Thanks @pasis for finding the solution! | ||||
* | Changes logging format to [OMEMO] | Stefan | 2021-03-09 | 1 | -48/+49 |
| | |||||
* | Update copyright | Michael Vetter | 2021-01-08 | 1 | -1/+1 |
| | |||||
* | Remove cmd_tiny, empty files and link nonce with IV | William Wennerström | 2020-12-07 | 1 | -1/+1 |
| | |||||
* | Refactor for threaded external executable for built-in download methods | William Wennerström | 2020-12-03 | 2 | -1/+1 |
| | |||||
* | Explicitly clear fragment from HTTP URL | William Wennerström | 2020-11-16 | 2 | -1/+8 |
| | |||||
* | Add I/O error handling and use filenames instead of file descriptors | William Wennerström | 2020-11-16 | 4 | -9/+9 |
| | |||||
* | Refactor OMEMO download into AESGCMDownload tool | William Wennerström | 2020-11-16 | 4 | -15/+108 |
| | |||||
* | Run make format on rebase | William Wennerström | 2020-11-16 | 4 | -26/+33 |
| | |||||
* | Move file encryption function to public header | William Wennerström | 2020-11-16 | 4 | -39/+44 |
| | |||||
* | Remove unused #define's and move URL scheme define to omemo/crypto.h | William Wennerström | 2020-11-16 | 1 | -0/+1 |
| | |||||
* | Move setup for AESGCM to omemo/crypto | William Wennerström | 2020-11-16 | 2 | -10/+49 |
| | |||||
* | Initial /sendfile OMEMO encryption | William Wennerström | 2020-11-16 | 2 | -4/+113 |
| | |||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 1 | -2/+1 |
| | | | | We require c99/gnu99 anyways. | ||||
* | 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 | 6 | -513/+511 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 6 | -517/+519 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 6 | -519/+517 |
| | | | | 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 |
| | |||||
* | omemo: switch to 12 byte IV | Michael Vetter | 2020-02-17 | 1 | -1/+1 |
| | | | | | | | We decrypt both 12 and 16 bytes. And send 12 instead of 16 bytes now. Close https://github.com/profanity-im/profanity/issues/1272 | ||||
* | xep-0308: enable corrections for outgoing encrypted messages | Michael Vetter | 2020-02-12 | 2 | -4/+4 |
| | |||||
* | Add context to autocomplete_with_func and use it for omemo trust command | Paul Fariello | 2020-01-31 | 2 | -8/+26 |
| | | | | Fix #1068 | ||||
* | Add support for 12 bytes IV | Paul Fariello | 2020-01-20 | 3 | -4/+4 |
| | | | | | | | 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 | 6 | -0/+6 |
| | |||||
* | 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 memleak in save_identity() | Michael Vetter | 2019-07-23 | 1 | -1/+1 |
| | | | | I don't see a reason for strdupping here. | ||||
* | Fix potential leak in omemo_untrust() | Michael Vetter | 2019-07-23 | 1 | -0/+2 |
| | |||||
* | Dont use not needed strdup() in save_identity() | Michael Vetter | 2019-07-23 | 1 | -1/+1 |
| | | | | I don't see a reason for strdupping here. | ||||
* | Remove dead assignments | Michael Vetter | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | Dirty fix libgcrypt memleak | Paul Fariello | 2019-07-11 | 1 | -0/+5 |
| | |||||
* | Enable secure memory in gcrypt initialisation | Paul Fariello | 2019-07-11 | 1 | -0/+6 |
| | |||||
* | Fix various OMEMO memleaks | Paul Fariello | 2019-07-10 | 2 | -3/+12 |
| | |||||
* | 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 | 2 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 3 | -10/+25 |
| |