Install
bun add -g @bkramer/proton-cli@0.4.0
# or from GitHub:
bun install -g github:brandonkramer/proton-cli#v0.4.0
Changes
- chore: release v0.4.0 (882d555)
- docs: note TOTP reuse fix and removed fixed sign-in delays (9e070b4)
- fix(signin): avoid TOTP reuse across products; drop fixed delays (b31f202)
- fix(signin): share mail-api sessions and back off on 2028 (8c521e5)
- fix(signin): never send TOTP on password /auth with CAPTCHA (af2a97f)
- fix(signin): finish 2FA after CAPTCHA with a fresh Pass TOTP (935fa91)
- fix(signin): refresh TOTP from Pass after CAPTCHA in TUI (5e18d73)
- fix(pass): disambiguate duplicate item titles by preferring TOTP (7ad26a2)
- fix(signin): prompt for TOTP when Pass item has none (6a5d2fa)
- feat: persist default Pass login via proton account (b431683)
- feat(mail): attachments on send and contact picker in TUI compose (561644a)
- fix(mail): always sign send package body for external clear (ae34dca)
- test(mail): assert package body is unsigned for external-only clear sends (9e1c903)
- fix(mail): send unsigned cleartext to external recipients (3507d25)
- fix(mail): unlock locked scope via /users/unlock (3547547)
- fix(contacts): make client tests host-agnostic for mail-api (b6e6308)
- fix(mail): send draft with AttachmentKeyPackets array (5ce6298)
- feat(mail): add TUI compose, reply, and forward (4858e17)
- fix(mail): unlock password scope before fetching key salts (7acd8ad)
- fix(mail): render HTML message bodies as plain text in TUI/CLI (f96f680)
- fix(mail): prompt for password when unlocking mailbox keys (7bf0da3)
- fix(auth): re-prompt TOTP after CAPTCHA before SRP retry (6ea5dff)
- fix: use allowlisted Proton app-version headers for Calendar and Mail APIs (e1f0ed2)
- feat: share macOS CAPTCHA helper across all product sign-ins (370b527)
- fix: bootstrap CryptoProxy in the same module graph as SRP (ad163d1)
- fix: keep partial multi-mint sessions in parent TUI sign-in (28441ce)
- fix: route Drive base64/hash imports through hash.ts (bd30474)