No description
Find a file
Shautvast 05b6aac692 Add proton-bridge crate: workspace setup and SRP authentication (Step 2)
- Convert tuimail repo to Cargo workspace with tuimail and proton-bridge members
- Add proton-bridge binary crate with config, SRP 6a, and auth modules
- Implement ProtonMail SRP 6a exactly matching go-srp:
  - Little-endian bigints throughout
  - expandHash = SHA512(data||0..3) producing 256 bytes
  - k, u, M1, M2 all via expandHash with 256-byte normalised inputs
  - Password hashing v3/v4: bcrypt($2y$, salt+proton) + expandHash(output||N)
- Authenticate against Proton API (auth/info → auth/v4), verify server proof
- Persist session (UID, access/refresh tokens) to session.json
- Add bridge.toml and session.json to .gitignore (contain credentials/tokens)
- Add PROTON.md with full build plan for the mini-bridge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 21:31:10 +01:00
proton-bridge Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
src Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
.gitignore Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
Cargo.lock Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
Cargo.toml Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00
CLAUDE.md Update CLAUDE.md for skim project 2026-02-17 21:34:46 +01:00
config.toml.example Add SMTP send with TLS mode support and timeouts 2026-02-19 20:07:17 +01:00
docker-compose.yml basic gui and login to imap 2026-02-17 17:24:35 +01:00
MAIL_SERVER_SETUP.md Reorganize mail setup docs with Gmail instructions first 2026-02-17 21:00:43 +01:00
PROTON.md Add proton-bridge crate: workspace setup and SRP authentication (Step 2) 2026-02-19 21:31:10 +01:00