DecryptionFailureCode
Defined in: src/crypto-api/index.ts:736
A reason code for a failure to decrypt an event.
Enumeration Members
Section titled “Enumeration Members”HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED
Section titled “HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED”HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED:
"HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED"
Defined in: src/crypto-api/index.ts:759
Message was sent before the current device was created; there was a key backup on the server, but we don’t seem to have access to the backup. (Probably we don’t have the right key.)
HISTORICAL_MESSAGE_NO_KEY_BACKUP
Section titled “HISTORICAL_MESSAGE_NO_KEY_BACKUP”HISTORICAL_MESSAGE_NO_KEY_BACKUP:
"HISTORICAL_MESSAGE_NO_KEY_BACKUP"
Defined in: src/crypto-api/index.ts:753
Message was sent before the current device was created; there is no key backup on the server, so this decryption failure is expected.
HISTORICAL_MESSAGE_USER_NOT_JOINED
Section titled “HISTORICAL_MESSAGE_USER_NOT_JOINED”HISTORICAL_MESSAGE_USER_NOT_JOINED:
"HISTORICAL_MESSAGE_USER_NOT_JOINED"
Defined in: src/crypto-api/index.ts:770
Message was sent when the user was not a member of the room.
HISTORICAL_MESSAGE_WORKING_BACKUP
Section titled “HISTORICAL_MESSAGE_WORKING_BACKUP”HISTORICAL_MESSAGE_WORKING_BACKUP:
"HISTORICAL_MESSAGE_WORKING_BACKUP"
Defined in: src/crypto-api/index.ts:765
Message was sent before the current device was created; there was a (usable) key backup on the server, but we still can’t decrypt. (Either the session isn’t in the backup, or we just haven’t gotten around to checking yet.)
MEGOLM_KEY_WITHHELD
Section titled “MEGOLM_KEY_WITHHELD”MEGOLM_KEY_WITHHELD:
"MEGOLM_KEY_WITHHELD"
Defined in: src/crypto-api/index.ts:741
A special case of MEGOLM_UNKNOWN_INBOUND_SESSION_ID: the sender has told us it is withholding the key.
MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE
Section titled “MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE”MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE:
"MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE"
Defined in: src/crypto-api/index.ts:744
A special case of MEGOLM_KEY_WITHHELD: the sender has told us it is withholding the key, because the current device is unverified.
MEGOLM_UNKNOWN_INBOUND_SESSION_ID
Section titled “MEGOLM_UNKNOWN_INBOUND_SESSION_ID”MEGOLM_UNKNOWN_INBOUND_SESSION_ID:
"MEGOLM_UNKNOWN_INBOUND_SESSION_ID"
Defined in: src/crypto-api/index.ts:738
Message was encrypted with a Megolm session whose keys have not been shared with us.
OLM_UNKNOWN_MESSAGE_INDEX
Section titled “OLM_UNKNOWN_MESSAGE_INDEX”OLM_UNKNOWN_MESSAGE_INDEX:
"OLM_UNKNOWN_MESSAGE_INDEX"
Defined in: src/crypto-api/index.ts:747
Message was encrypted with a Megolm session which has been shared with us, but in a later ratchet state.
SENDER_IDENTITY_PREVIOUSLY_VERIFIED
Section titled “SENDER_IDENTITY_PREVIOUSLY_VERIFIED”SENDER_IDENTITY_PREVIOUSLY_VERIFIED:
"SENDER_IDENTITY_PREVIOUSLY_VERIFIED"
Defined in: src/crypto-api/index.ts:775
The sender’s identity is not verified, but was previously verified.
UNKNOWN_ERROR
Section titled “UNKNOWN_ERROR”UNKNOWN_ERROR:
"UNKNOWN_ERROR"
Defined in: src/crypto-api/index.ts:790
Unknown or unclassified error.
UNKNOWN_SENDER_DEVICE
Section titled “UNKNOWN_SENDER_DEVICE”UNKNOWN_SENDER_DEVICE:
"UNKNOWN_SENDER_DEVICE"
Defined in: src/crypto-api/index.ts:787
We weren’t able to link the message back to any known device. This will
only be used if the device isolation mode is set to OnlySignedDevicesIsolationMode.
UNSIGNED_SENDER_DEVICE
Section titled “UNSIGNED_SENDER_DEVICE”UNSIGNED_SENDER_DEVICE:
"UNSIGNED_SENDER_DEVICE"
Defined in: src/crypto-api/index.ts:781
The sender device is not cross-signed. This will only be used if the
device isolation mode is set to OnlySignedDevicesIsolationMode.