about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #1064 from ↵Michael Vetter2019-04-171-0/+1
|\ \ | |/ |/| | | | | paulfariello/hotfix/omemo-crypto-generation-too-long Alert about long OMEMO cryptographic generation
| * Alert about long OMEMO cryptographic generationPaul Fariello2019-04-171-0/+1
|/ | | | Fixes #1055
* Merge pull request #1061 from ↵Michael Vetter2019-04-151-1/+1
|\ | | | | | | | | paulfariello/hotfix/handle-message-without-id-in-muc Handle message without id in MUC
| * Handle message without id in MUCPaul Fariello2019-04-141-1/+1
| | | | | | | | Some clients seems to send message without id.
* | Merge pull request #1054 from ↵Michael Vetter2019-04-151-16/+37
|\ \ | |/ |/| | | | | paulfariello/hotfix/omemo_disconnect_while_not_loaded Don't touch OMEMO cryto keys on disconnect if OMEMO wasn't loaded
| * Don't persist OMEMO {signed,}prekey cleaning on disconnectPaul Fariello2019-04-141-10/+0
| | | | | | | | | | We should not remove signed prekey and prekey from persistent storage when cleaning OMEMO store on disconnect.
| * Handle malformed OMEMO identity.txtPaul Fariello2019-04-141-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 loadedPaul Fariello2019-04-141-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 containerMichael Vetter2019-04-142-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 stubMichael Vetter2019-04-141-0/+1
|
* Move travis from Ubuntu to docker+openSUSEMichael Vetter2019-04-132-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 handMichael Vetter2019-04-131-1/+9
| | | | Ubuntu xenial only has 1.6.x and we need 1.7.
* Use xenial on travisMichael Vetter2019-04-131-1/+1
|
* Merge pull request #1056 from paulfariello/feature/omemo_travisMichael Vetter2019-04-132-14/+15
|\ | | | | Build OMEMO support in travis
| * Add libgcrypt minimum version in configure error logPaul Fariello2019-04-131-2/+2
| |
| * Look for gcry_md_extract (libgcrypt >= 1.7.0)Paul Fariello2019-04-131-1/+1
| |
| * testPaul Fariello2019-04-131-0/+1
| |
| * Build with libcmocka from packagesPaul Fariello2019-04-121-11/+1
| |
| * Add manual build of libsignal in travisPaul Fariello2019-04-121-1/+11
|/
* Update travis from Ubuntu trusty to bionicMichael Vetter2019-04-121-1/+1
|
* Update travisMichael Vetter2019-04-122-5/+21
| | | | | Add OMEMO dependencies. Build with and without OMEMO enabled.
* Merge pull request #1053 from paulfariello/feature/random_resourceMichael Vetter2019-04-124-3/+27
|\ | | | | Add random string at the end of the default resource
| * Add random string at the end of the default resourcePaul Fariello2019-04-124-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 Vetter2019-04-121-1/+1
| | | | This reverts commit 7be6158c80af09daf58e9b873263d9e98e36aff9.
* Set C99 standard in configureMichael Vetter2019-04-121-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/omemoMichael Vetter2019-04-1148-103/+5084
|\ | | | | Add basic OMEMO support.
| * Support contact name in /omemo fingerprint commandPaul Fariello2019-04-101-4/+9
| |
| * Fix issue with first encrypted messagePaul Fariello2019-04-101-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 rosterPaul Fariello2019-04-103-0/+22
| |
| * OMEMO should be written uppercasePaul Fariello2019-04-102-15/+15
| |
| * Fix build on travisPaul Fariello2019-04-101-0/+2
| |
| * Add /omemo char commandPaul Fariello2019-04-103-1/+25
| |
| * Automatically starts OMEMO if one identity is trustedPaul Fariello2019-04-104-6/+80
| |
| * Rework trusted fingerprint storagePaul Fariello2019-04-104-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 bundlePaul Fariello2019-04-1010-10/+59
| | | | | | | | Add sv_ev_connection_features_received for that purpose
| * Don't build OMEMO by defaultPaul Fariello2019-04-101-1/+2
| |
| * Prefix static function with _Paul Fariello2019-04-101-41/+41
| |
| * Ensure pre keys are generated if missing from long term storagePaul Fariello2019-04-101-24/+51
| |
| * Rework MUC reflected message filteringPaul Fariello2019-04-1014-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 commandPaul Fariello2019-04-106-2/+34
| |
| * Fix devicelist notification handlerPaul Fariello2019-04-102-6/+5
| | | | | | | | devicelist handler should be kept after trigger
| * Add clear_device_list commandPaul Fariello2019-04-104-4/+28
| |
| * Permanently store pre keysPaul Fariello2019-04-103-22/+119
| |
| * Add support for missing from in bundle iqPaul Fariello2019-04-101-3/+9
| |
| * Handle bundle publication error on publish-optionsPaul Fariello2019-04-105-23/+166
| | | | | | | | | | We try to reconfigure node and publish again. If it fails again then we give up.
| * Ensure signal context is built on connectionPaul Fariello2019-04-101-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 funcPaul Fariello2019-04-101-3/+1
| |
| * Ensure encrypted carbon of own message are marked as encryptedPaul Fariello2019-04-104-4/+42
| |
| * Add required OMEMO stub for unit-testPaul Fariello2019-04-104-3/+73
| |
| * Show all device fingerprint for current accountPaul Fariello2019-04-101-1/+1
| |