1
0
Fork 0
forked from blue/squawk

some further work on omemo, far from done yet

This commit is contained in:
Blue 2023-03-02 21:17:06 +03:00
parent 6f32e99593
commit 77dd28b600
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
18 changed files with 161 additions and 43 deletions

View file

@ -160,7 +160,9 @@ static const TrustLevel TrustLevelHighest = TrustLevel::undecided;
static const TrustLevel TrustLevelLowest = TrustLevel::authenticated;
enum class EncryptionProtocol {
omemo
omemo,
omemo1,
omemo2
};
Q_ENUM_NS(EncryptionProtocol)

View file

@ -43,7 +43,7 @@ Shared::KeyInfo::KeyInfo():
label(),
lastInteraction(),
trustLevel(TrustLevel::undecided),
protocol(EncryptionProtocol::omemo),
protocol(EncryptionProtocol::omemo2),
currentDevice(false)
{
}

View file

@ -36,7 +36,7 @@ public:
const QString& label,
const QDateTime& lastInteraction,
TrustLevel trustLevel,
EncryptionProtocol protocol = EncryptionProtocol::omemo,
EncryptionProtocol protocol = EncryptionProtocol::omemo2,
bool currentDevice = false
);
KeyInfo();