From 4d5f4c8ba2c6a2ffe47c1bcff8e13bff77717f56 Mon Sep 17 00:00:00 2001 From: "Andrew E. Bruno" Date: Tue, 14 Nov 2017 18:46:00 -0500 Subject: [PATCH] Update signal protocol library. Fixes #85 --- ChangeLog.rst | 9 +++++++++ README.rst | 2 +- build.sh | 2 +- glide.lock | 18 ++++++++---------- glide.yaml | 2 -- qml/i18n/whisperfish_de.ts | 18 +++++++++++------- qml/i18n/whisperfish_en.ts | 16 ++++++++++------ qml/i18n/whisperfish_nl.ts | 18 +++++++++++------- qml/i18n/whisperfish_pl.ts | 18 +++++++++++------- rpm/harbour-whisperfish.spec | 2 +- worker/client.go | 2 +- worker/send.go | 2 +- 12 files changed, 65 insertions(+), 44 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 536fe369a..a78397f8f 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -2,6 +2,14 @@ ChangeLog =============================================================================== +`v0.4.4`_ (2017-11-14) +--------------------------- + +* Built using SailfishOSSDK-Beta-1611-Qt5-linux-64 +* Tested on Sailfish OS 2.1.2.3 (Kiiminkijoki) +* Fix #85 signal protocol updates +* Add Polish translation by paytchoo PR #84 + `v0.4.3`_ (2017-04-11) --------------------------- @@ -87,3 +95,4 @@ ChangeLog .. _v0.4.1: https://github.com/aebruno/whisperfish/releases/tag/v0.4.1 .. _v0.4.2: https://github.com/aebruno/whisperfish/releases/tag/v0.4.2 .. _v0.4.3: https://github.com/aebruno/whisperfish/releases/tag/v0.4.3 +.. _v0.4.4: https://github.com/aebruno/whisperfish/releases/tag/v0.4.4 diff --git a/README.rst b/README.rst index 33bd487e8..09c164f50 100644 --- a/README.rst +++ b/README.rst @@ -33,7 +33,7 @@ Features - [x] Encrypted message store - [x] Advanced user settings - [ ] Multi-Device support (links with Signal Desktop) -- [ ] Encrypted attachments +- [ ] Encrypted local attachment store - [ ] Archiving conversations ------------------------------------------------------------------------------- diff --git a/build.sh b/build.sh index 31b97593c..82c361834 100755 --- a/build.sh +++ b/build.sh @@ -16,7 +16,7 @@ # APPNAME=harbour-whisperfish -VERSION=$(git describe --long --tags --dirty --always 2>/dev/null | cut -f2 -d'v') +VERSION=$(git describe --long --tags --always 2>/dev/null | cut -f2 -d'v') GOQT_VERSION=c6ada02b904734c7f78a8032acd2e6fee3e58dba QT_VERSION=5.7.0 diff --git a/glide.lock b/glide.lock index f09a868e7..d6b320426 100644 --- a/glide.lock +++ b/glide.lock @@ -1,10 +1,15 @@ -hash: d20595e0e07aacf2ab1cb75d208d7040cc10a278c45dd9ff28b150edeff511ac -updated: 2017-02-10T23:17:44.544203704-05:00 +hash: 0579ebcdc96a4a0455ac04a3d07d5382b8963d82936667c2fcfd7e81fb65608d +updated: 2017-11-14T18:42:17.316920429-05:00 imports: - name: bitbucket.org/taruti/mimemagic version: e5179c80a024fe516da65f0b006f56fa7800694e - name: github.com/aebruno/textsecure - version: 31e330a410333771e1354ce57a0d70b946780c85 + version: 7ce5880f67b2d0f3e93a0dba88069ae555d13131 + subpackages: + - axolotl + - axolotl/protobuf + - curve25519sign + - protobuf - name: github.com/agl/ed25519 version: 278e1ec8e8a6e017cd07577924d6766039146ced subpackages: @@ -15,13 +20,6 @@ imports: - proto - name: github.com/gorilla/websocket version: 1f512fc3f05332ba7117626cdfb4e07474e58e60 -- name: github.com/janimo/textsecure - version: f2c1d0dc203b097e4035d6605979f7a328ef804f - subpackages: - - axolotl - - axolotl/protobuf - - curve25519sign - - protobuf - name: github.com/jmoiron/sqlx version: 398dd5876282499cdfd4cb8ea0f31a672abe9495 subpackages: diff --git a/glide.yaml b/glide.yaml index ccb65baa9..ebb26a6a3 100644 --- a/glide.yaml +++ b/glide.yaml @@ -6,8 +6,6 @@ ignore: import: - package: github.com/Sirupsen/logrus - package: github.com/aebruno/textsecure - version: websocket-updates -- package: github.com/janimo/textsecure subpackages: - axolotl - curve25519sign diff --git a/qml/i18n/whisperfish_de.ts b/qml/i18n/whisperfish_de.ts index 6f52aba1a..8351aa5b0 100644 --- a/qml/i18n/whisperfish_de.ts +++ b/qml/i18n/whisperfish_de.ts @@ -34,19 +34,19 @@ Neue Nachricht - + Today Session section label for today Heute - + Yesterday Session section label for yesterday Gestern - + Older Session section label for older Älter @@ -253,9 +253,10 @@ - Deleting - Deleting message remorse - Löschen + Deleteing + Deleting + Deleteing message remorse + Löschen @@ -314,7 +315,7 @@ Warning: could not verify contact in Signal - Could not verify contact is registered with signal + Could verify contact is registered with signal Warnung: Kontakt konnte nicht verifiziert werden @@ -432,18 +433,21 @@ Signal wird dich anrufen, um dir einen 6-stelligen Code mitzuteilen. Sei bereit zum Notieren. + Confirm Reset peer identity accept text Bestätigen + Peer identity is not trusted Peer identity not trusted Peer Identität wird nicht vertraut + WARNING: %1 identity is no longer trusted. Tap Confirm to reset peer identity. Peer identity not trusted message diff --git a/qml/i18n/whisperfish_en.ts b/qml/i18n/whisperfish_en.ts index 0f8bd4280..9ff7f3db8 100644 --- a/qml/i18n/whisperfish_en.ts +++ b/qml/i18n/whisperfish_en.ts @@ -34,19 +34,19 @@ - + Today Session section label for today - + Yesterday Session section label for yesterday - + Older Session section label for older @@ -253,8 +253,9 @@ - Deleting - Deleting message remorse + Deleteing + Deleting + Deleteing message remorse @@ -314,7 +315,7 @@ Warning: could not verify contact in Signal - Could not verify contact is registered with signal + Could verify contact is registered with signal @@ -432,18 +433,21 @@ + Confirm Reset peer identity accept text + Peer identity is not trusted Peer identity not trusted + WARNING: %1 identity is no longer trusted. Tap Confirm to reset peer identity. Peer identity not trusted message diff --git a/qml/i18n/whisperfish_nl.ts b/qml/i18n/whisperfish_nl.ts index 73214b4ad..d48715e3c 100644 --- a/qml/i18n/whisperfish_nl.ts +++ b/qml/i18n/whisperfish_nl.ts @@ -34,19 +34,19 @@ Nieuw bericht - + Today Session section label for today Vandaag - + Yesterday Session section label for yesterday Gisteren - + Older Session section label for older Ouder @@ -253,9 +253,10 @@ - Deleting - Deleting message remorse - Wordt verwijderd + Deleteing + Deleting + Deleteing message remorse + Wordt verwijderd @@ -314,7 +315,7 @@ Warning: could not verify contact in Signal - Could not verify contact is registered with signal + Could verify contact is registered with signal Waarschuwing: kon niet verifiëren dat contact geregistreerd is bij Signal @@ -432,18 +433,21 @@ Signal zal je bellen met een verificatiecode van 6 tekens. Zorg dat je deze ergens kan opschrijven. + Confirm Reset peer identity accept text Bevestigen + Peer identity is not trusted Peer identity not trusted Peeridentiteit is niet vertrouwd + WARNING: %1 identity is no longer trusted. Tap Confirm to reset peer identity. Peer identity not trusted message diff --git a/qml/i18n/whisperfish_pl.ts b/qml/i18n/whisperfish_pl.ts index e8a8642a3..9dd8581be 100644 --- a/qml/i18n/whisperfish_pl.ts +++ b/qml/i18n/whisperfish_pl.ts @@ -34,19 +34,19 @@ Nowa Wiadomość - + Today Session section label for today Dziś - + Yesterday Session section label for yesterday Wczoraj - + Older Session section label for older Starsze @@ -253,9 +253,10 @@ - Deleting - Deleting message remorse - Usuwanie + Deleteing + Deleting + Deleteing message remorse + Usuwanie @@ -314,7 +315,7 @@ Warning: could not verify contact in Signal - Could not verify contact is registered with signal + Could verify contact is registered with signal Ostrzeżenie: kontakt niezweryfikowany w Signal @@ -432,18 +433,21 @@ Signal połączy się z Tobą, podając 6-cyfrowy kod weryfikacyjny. Przygotuj się na zanotowanie go. + Confirm Reset peer identity accept text Potwierdź + Peer identity is not trusted Peer identity not trusted Tożsamość odbiorcy nie jest zaufana + WARNING: %1 identity is no longer trusted. Tap Confirm to reset peer identity. Peer identity not trusted message diff --git a/rpm/harbour-whisperfish.spec b/rpm/harbour-whisperfish.spec index d0fab3858..b25df355f 100644 --- a/rpm/harbour-whisperfish.spec +++ b/rpm/harbour-whisperfish.spec @@ -1,7 +1,7 @@ Name: harbour-whisperfish Summary: Signal client for SailfishOS -Version: 0.4.3 +Version: 0.4.4 Release: 1 Group: Qt/Qt License: GPL diff --git a/worker/client.go b/worker/client.go index 888737a29..d836f23f9 100644 --- a/worker/client.go +++ b/worker/client.go @@ -25,9 +25,9 @@ import ( log "github.com/Sirupsen/logrus" "github.com/aebruno/textsecure" + "github.com/aebruno/textsecure/axolotl" "github.com/aebruno/whisperfish/settings" "github.com/aebruno/whisperfish/store" - "github.com/janimo/textsecure/axolotl" "github.com/therecipe/qt/core" "github.com/therecipe/qt/network" ) diff --git a/worker/send.go b/worker/send.go index 9fba4ba48..596db202b 100644 --- a/worker/send.go +++ b/worker/send.go @@ -25,8 +25,8 @@ import ( log "github.com/Sirupsen/logrus" "github.com/aebruno/textsecure" + "github.com/aebruno/textsecure/axolotl" "github.com/aebruno/whisperfish/store" - "github.com/janimo/textsecure/axolotl" "github.com/therecipe/qt/core" )