some initial work and thoughts about encryption

This commit is contained in:
Blue 2023-01-01 20:25:51 +03:00
parent 758a9d95f3
commit b45a73b723
Signed by: blue
GPG key ID: 9B203B252A63EE38
12 changed files with 342 additions and 18 deletions

View file

@ -127,23 +127,28 @@ Q_ENUM_NS(Support)
enum class TrustLevel {
/// The key's trust is not decided.
Undecided,
undecided,
/// The key is automatically distrusted (e.g., by the security policy TOAKAFA).
/// \see SecurityPolicy
AutomaticallyDistrusted,
automaticallyDistrusted,
/// The key is manually distrusted (e.g., by clicking a button or \xep{0450, Automatic Trust
/// Management (ATM)}).
ManuallyDistrusted,
manuallyDistrusted,
/// The key is automatically trusted (e.g., by the client for all keys of a bare JID until one
/// of it is authenticated).
AutomaticallyTrusted,
automaticallyTrusted,
/// The key is manually trusted (e.g., by clicking a button).
ManuallyTrusted,
manuallyTrusted,
/// The key is authenticated (e.g., by QR code scanning or \xep{0450, Automatic Trust
/// Management (ATM)}).
Authenticated
authenticated
};
Q_ENUM_NS(TrustLevel)
enum class EncryptionProtocol {
omemo
};
Q_ENUM_NS(EncryptionProtocol)
}
#endif // SHARED_ENUMS_H