EventShieldReason
Defined in: src/crypto-api/index.ts:1295
Reason codes for EventEncryptionInfo#shieldReason.
Enumeration Members
Section titled “Enumeration Members”AUTHENTICITY_NOT_GUARANTEED
Section titled “AUTHENTICITY_NOT_GUARANTEED”AUTHENTICITY_NOT_GUARANTEED:
4
Defined in: src/crypto-api/index.ts:1313
“The authenticity of this encrypted message can’t be guaranteed on this device.”
ie: the key has been forwarded, or retrieved from an insecure backup.
MISMATCHED_SENDER
Section titled “MISMATCHED_SENDER”MISMATCHED_SENDER:
8
Defined in: src/crypto-api/index.ts:1341
The sender field on the event does not match the owner of the device
that established the Megolm session.
MISMATCHED_SENDER_KEY
Section titled “MISMATCHED_SENDER_KEY”MISMATCHED_SENDER_KEY:
5
Defined in: src/crypto-api/index.ts:1322
The (deprecated) sender_key field in the event does not match the Ed25519 key of the device that sent us the decryption keys.
SENT_IN_CLEAR
Section titled “SENT_IN_CLEAR”SENT_IN_CLEAR:
6
Defined in: src/crypto-api/index.ts:1330
The event was sent unencrypted in an encrypted room.
UNKNOWN
Section titled “UNKNOWN”UNKNOWN:
0
Defined in: src/crypto-api/index.ts:1297
An unknown reason from the crypto library (if you see this, it is a bug in the Digital World Messaging SDK).
UNKNOWN_DEVICE
Section titled “UNKNOWN_DEVICE”UNKNOWN_DEVICE:
3
Defined in: src/crypto-api/index.ts:1306
“Encrypted by an unknown or deleted device.”
UNSIGNED_DEVICE
Section titled “UNSIGNED_DEVICE”UNSIGNED_DEVICE:
2
Defined in: src/crypto-api/index.ts:1303
“Encrypted by a device not verified by its owner.”
UNVERIFIED_IDENTITY
Section titled “UNVERIFIED_IDENTITY”UNVERIFIED_IDENTITY:
1
Defined in: src/crypto-api/index.ts:1300
“Encrypted by an unverified user.”
VERIFICATION_VIOLATION
Section titled “VERIFICATION_VIOLATION”VERIFICATION_VIOLATION:
7
Defined in: src/crypto-api/index.ts:1335
The sender was previously verified but changed their identity.