Replace event verification logic with new code in js-sdk (#11528)
* Use new crypto-api for cross user verification * update verification flow with new APIs * Replace some calls to `checkUserTrust` A start on https://github.com/vector-im/crypto-internal/issues/147 * Enable cypress tests * update tests * Delegate decisions on event shields to the js-sdk * rerender after editing events This is required because a transition from "valid event" to "unencrypted event" no longer triggers a state change, so the component does not render itself. Previously, this would be a transition from `verified: E2EState.Normal` to `verified: null`. * Update tests * prettier * Test coverage --------- Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
committed by
GitHub
parent
579b0dd10a
commit
cf2340bcad
@@ -2046,12 +2046,14 @@
|
||||
"Everyone in this room is verified": "Everyone in this room is verified",
|
||||
"Edit message": "Edit message",
|
||||
"From a thread": "From a thread",
|
||||
"Encrypted by an unverified user.": "Encrypted by an unverified user.",
|
||||
"Encrypted by a device not verified by its owner.": "Encrypted by a device not verified by its owner.",
|
||||
"Encrypted by an unknown or deleted device.": "Encrypted by an unknown or deleted device.",
|
||||
"The authenticity of this encrypted message can't be guaranteed on this device.": "The authenticity of this encrypted message can't be guaranteed on this device.",
|
||||
"Encrypted by an unverified session": "Encrypted by an unverified session",
|
||||
"This event could not be displayed": "This event could not be displayed",
|
||||
" in <strong>%(room)s</strong>": " in <strong>%(room)s</strong>",
|
||||
"Encrypted by an unverified session": "Encrypted by an unverified session",
|
||||
"Unencrypted": "Unencrypted",
|
||||
"Encrypted by a deleted session": "Encrypted by a deleted session",
|
||||
"The authenticity of this encrypted message can't be guaranteed on this device.": "The authenticity of this encrypted message can't be guaranteed on this device.",
|
||||
"This message could not be decrypted": "This message could not be decrypted",
|
||||
"Sending your message…": "Sending your message…",
|
||||
"Encrypting your message…": "Encrypting your message…",
|
||||
|
||||
Reference in New Issue
Block a user