diff options
Diffstat (limited to 'lib/keyverificationsession.h')
-rw-r--r-- | lib/keyverificationsession.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/keyverificationsession.h b/lib/keyverificationsession.h index 9cac1184..32a91cfc 100644 --- a/lib/keyverificationsession.h +++ b/lib/keyverificationsession.h @@ -131,6 +131,8 @@ private: bool macReceived = false; bool m_encrypted; QStringList m_remoteSupportedMethods; + bool m_verified = false; + QString m_pendingEdKeyId{}; void handleReady(const KeyVerificationReadyEvent& event); void handleStart(const KeyVerificationStartEvent& event); @@ -141,6 +143,7 @@ private: void setError(Error error); static QString errorToString(Error error); static Error stringToError(const QString& error); + void trustKeys(); QByteArray macInfo(bool verifying, const QString& key = "KEY_IDS"_ls); QString calculateMac(const QString& input, bool verifying, const QString& keyId= "KEY_IDS"_ls); |