Repository navigation
M1-E: Matrix sign-in and E2EE in the browser - #13
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
…he browser - chatcraft-matrix builds for wasm32: IndexedDB device store, localStorage secrets, a small runtime shim (spawn/sleep) for native and browser. - chatcraft-web opens the sign-in shell; the account is remembered and resumes without a password. `?demo` opens the demo workspace and `#homeserver=…&user=…` prefills the form. - `web` Cargo profile (opt-level z, fat LTO, stripped): 4.2 MB Brotli, down from 7 MB. wasm-opt is off; it saved nothing after compression. - xtask wasm checks chatcraft-matrix. Checked in headless Chrome against Synapse: sign-in, wrong password, an encrypted DM from the CLI, and decryption after a reload. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Stacked on #12.
The web app (
apps/chatcraft-web) now signs in to Matrix homeservers, with end-to-end encryption running in the page.rt.rsfor spawn/sleep,SecretStore::Browser(localStorage), and filesystem cleanup skipped in the browser.?demoopens the demo workspace;#homeserver=…&user=…prefills the form (never a password).webCargo profile (opt-level z, fat LTO, stripped) brings the WebAssembly from 36 MB / 7.0 MB Brotli to 16 MB / 4.2 MB Brotli.wasm-optis off because it saved nothing after compression.cargo xtask wasmnow checkschatcraft-matrix.docs/matrix.md› In the browser (including the localStorage / CSP note), gaps 0.8, README, ROADMAP.Testing
cargo xtask ci: all 7 steps pass.cargo test -p chatcraft-matrixagainst local Synapse: 17 unit tests and 10 integration tests pass.🤖 Generated with Claude Code