some further work on omemo, far from done yet
This commit is contained in:
parent
6f32e99593
commit
77dd28b600
18 changed files with 161 additions and 43 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ Shared::KeyInfo::KeyInfo():
|
|||
label(),
|
||||
lastInteraction(),
|
||||
trustLevel(TrustLevel::undecided),
|
||||
protocol(EncryptionProtocol::omemo),
|
||||
protocol(EncryptionProtocol::omemo2),
|
||||
currentDevice(false)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue