Repository navigation
M1-E: verify people by emoji, key backup and recovery - #4
Open
hsmith-dev wants to merge 1 commit into
Open
hsmith-dev wants to merge 1 commit into
hsmith-dev wants to merge 1 commit into
Conversation
- cross-signing bootstrapped on first password sign-in (UIA) - SAS emoji verification: request, accept, compare, confirm/mismatch, cancel; incoming requests from DMs and to-device; trust (User.verified) shown in profiles and member lists, remembered across restarts - key backup: recovery key setup, restore on a new device, backup lookup after decryption failures, undecryptable messages re-decrypted in place (MessageReplaced) when keys arrive - UI: verification dialog (names always shown; 4 undrawable glyphs name-only), encryption and key backup dialog, restore link on undecryptable messages; fix opaque modal backdrop in dark mode - integration tests: identical emoji on both clients, mismatch cancels both sides, new device restores history, wrong key refused Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
M1-E, part 2 (stacked on #3): the two biggest encryption gaps.
Verifying people by emoji (Matrix SAS)
security.verify/ Verify identity in a profile starts verification in your DM; incoming requests open a dialog. Both people compare seven emoji and confirm, or reject with They don't match (cancels on both sides).Key backup and recovery
Also fixes an opaque modal backdrop in dark mode.
Testing
cargo xtask cipasses.crates/matrix/tests/verify.rsagainst Synapse with fresh accounts: both clients compute identical emoji; confirm marks both verified; mismatch cancels both; trust persists after restart; a new device can't read old history until it restores with the recovery key; a wrong key is refused.Checklist
cargo xtask cipassesshotrenders (verification and recovery dialogs, light and dark)🤖 Generated with Claude Code