Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Set locale in docker container | Michael Vetter | 2019-04-14 | 2 | -2/+11 |
| | | | | | | | | | Install libmicrohttpd which are used for (currently disabled) functional tests). Install glibc-locale to get the locales. Unit test for `prof_whole_occurrences_tests` uses UTF-8 character and fails without proper locale being set. | ||||
* | Add omemo_start_sessions to unittest stub | Michael Vetter | 2019-04-14 | 1 | -0/+1 |
| | |||||
* | Move travis from Ubuntu to docker+openSUSE | Michael Vetter | 2019-04-13 | 2 | -44/+54 |
| | | | | | | | | | | Travis supports only quite old Ubuntu releases. They don't ship with libsignal-protocol-c and not with a recent enough libgrcypt. We could build libsignal-protocol-c manually but for libgcrypt it's more annoying. Let us switch to Docker and use openSUSE Tumbleweed, which is rolling release) and thus have up to date libs. | ||||
* | travis: Build libgcrypt by hand | Michael Vetter | 2019-04-13 | 1 | -1/+9 |
| | | | | Ubuntu xenial only has 1.6.x and we need 1.7. | ||||
* | Use xenial on travis | Michael Vetter | 2019-04-13 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1056 from paulfariello/feature/omemo_travis | Michael Vetter | 2019-04-13 | 2 | -14/+15 |
|\ | | | | | Build OMEMO support in travis | ||||
| * | Add libgcrypt minimum version in configure error log | Paul Fariello | 2019-04-13 | 1 | -2/+2 |
| | | |||||
| * | Look for gcry_md_extract (libgcrypt >= 1.7.0) | Paul Fariello | 2019-04-13 | 1 | -1/+1 |
| | | |||||
| * | test | Paul Fariello | 2019-04-13 | 1 | -0/+1 |
| | | |||||
| * | Build with libcmocka from packages | Paul Fariello | 2019-04-12 | 1 | -11/+1 |
| | | |||||
| * | Add manual build of libsignal in travis | Paul Fariello | 2019-04-12 | 1 | -1/+11 |
|/ | |||||
* | Update travis from Ubuntu trusty to bionic | Michael Vetter | 2019-04-12 | 1 | -1/+1 |
| | |||||
* | Update travis | Michael Vetter | 2019-04-12 | 2 | -5/+21 |
| | | | | | Add OMEMO dependencies. Build with and without OMEMO enabled. | ||||
* | Merge pull request #1053 from paulfariello/feature/random_resource | Michael Vetter | 2019-04-12 | 4 | -3/+27 |
|\ | | | | | Add random string at the end of the default resource | ||||
| * | Add random string at the end of the default resource | Paul Fariello | 2019-04-12 | 4 | -3/+27 |
|/ | | | | | | | | 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. | ||||
* | Revert "Set C99 standard in configure" | Michael Vetter | 2019-04-12 | 1 | -1/+1 |
| | | | | This reverts commit 7be6158c80af09daf58e9b873263d9e98e36aff9. | ||||
* | Set C99 standard in configure | Michael Vetter | 2019-04-12 | 1 | -1/+1 |
| | | | | | | | | We already use uint_32 from stdint.h which AFAIK is C99. I seem to remember there is more C99 in the code. Let's explicitly define it here. Also fixes build for https://github.com/boothj5/profanity/pull/1053 | ||||
* | Merge pull request #1039 from paulfariello/feature/omemo | Michael Vetter | 2019-04-11 | 48 | -103/+5084 |
|\ | | | | | Add basic OMEMO support. | ||||
| * | Support contact name in /omemo fingerprint command | Paul Fariello | 2019-04-10 | 1 | -4/+9 |
| | | |||||
| * | Fix issue with first encrypted message | Paul Fariello | 2019-04-10 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | When decrypting first message with prekey, libsignal wants to remove used prekey from storage. Return value on success should be 0. We used to return number of deleted keys. Thus libsignal was considering we failed to remove the key and we were ignoring plaintext. | ||||
| * | Try to start sessions with every jid in roster | Paul Fariello | 2019-04-10 | 3 | -0/+22 |
| | | |||||
| * | OMEMO should be written uppercase | Paul Fariello | 2019-04-10 | 2 | -15/+15 |
| | | |||||
| * | Fix build on travis | Paul Fariello | 2019-04-10 | 1 | -0/+2 |
| | | |||||
| * | Add /omemo char command | Paul Fariello | 2019-04-10 | 3 | -1/+25 |
| | | |||||
| * | Automatically starts OMEMO if one identity is trusted | Paul Fariello | 2019-04-10 | 4 | -6/+80 |
| | | |||||
| * | Rework trusted fingerprint storage | Paul Fariello | 2019-04-10 | 4 | -29/+90 |
| | | | | | | | | | | 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 | 10 | -10/+59 |
| | | | | | | | | Add sv_ev_connection_features_received for that purpose | ||||
| * | Don't build OMEMO by default | Paul Fariello | 2019-04-10 | 1 | -1/+2 |
| | | |||||
| * | 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 |
| | | |||||
| * | Rework MUC reflected message filtering | Paul Fariello | 2019-04-10 | 14 | -25/+64 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Add OMEMO in prefs command | Paul Fariello | 2019-04-10 | 6 | -2/+34 |
| | | |||||
| * | Fix devicelist notification handler | Paul Fariello | 2019-04-10 | 2 | -6/+5 |
| | | | | | | | | devicelist handler should be kept after trigger | ||||
| * | Add clear_device_list command | Paul Fariello | 2019-04-10 | 4 | -4/+28 |
| | | |||||
| * | Permanently store pre keys | Paul Fariello | 2019-04-10 | 3 | -22/+119 |
| | | |||||
| * | 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 | 5 | -23/+166 |
| | | | | | | | | | | 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 |
| | | |||||
| * | Ensure encrypted carbon of own message are marked as encrypted | Paul Fariello | 2019-04-10 | 4 | -4/+42 |
| | | |||||
| * | Add required OMEMO stub for unit-test | Paul Fariello | 2019-04-10 | 4 | -3/+73 |
| | | |||||
| * | Show all device fingerprint for current account | Paul Fariello | 2019-04-10 | 1 | -1/+1 |
| | | |||||
| * | Print fingerprint after trust and untrust command | Paul Fariello | 2019-04-10 | 1 | -0/+34 |
| | | |||||
| * | Temporarly disable check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | | |||||
| * | Add fingerprint autocompletion | Paul Fariello | 2019-04-10 | 3 | -1/+49 |
| | | |||||
| * | Use /omemo fingerprint to show contact fingerprints | Paul Fariello | 2019-04-10 | 5 | -32/+96 |
| | | | | | | | | Don't print fingerprints when they are received | ||||
| * | Use connection_support to check for publish-options support | Paul Fariello | 2019-04-10 | 1 | -6/+2 |
| | | |||||
| * | Add OMEMO log command | Paul Fariello | 2019-04-10 | 4 | -0/+49 |
| | | |||||
| * | Add missing preferences for OMEMO logs | Paul Fariello | 2019-04-10 | 1 | -0/+6 |
| | |