Add OpenPGP key management foundation (encryption phase 1) and encryption plan, v0.2.4

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-10-07 13:06:51 +03:00
co-authored by Copilot
parent b9e2f7fa30
commit bae9c7966d
18 changed files with 646 additions and 9 deletions
+7 -1
View File
@@ -25,7 +25,13 @@
## Mail security
- [ ] Add support for encrypting and decrypting mail with private/public keys or a suitable standard. Decide on the encryption format, key storage and exchange flow, and compatibility requirements before implementation.
- [ ] Add support for encrypting and decrypting mail with OpenPGP (PGP/MIME). See [ENCRYPTION_PLAN.md](./ENCRYPTION_PLAN.md).
- [x] Phase 1: foundation — OpenPGP.js, passphrase-protected key store (desktop), generate/import/export/delete keys, revocation certificate, tests, Settings UI.
- [ ] Phase 2: receive — detect PGP/MIME and inline PGP mail, decrypt on open, verify signatures, show encryption/signature status, handle missing keys and wrong passphrases.
- [ ] Phase 3: send — public-key keyring and key import from contacts/messages, encrypt and sign when composing, encrypted copy in Sent, warn instead of silently downgrading.
- [ ] Phase 4: trust and polish — fingerprint verification, key-change warnings, passphrase cache timeout, Android Keystore key storage and biometric unlock (key management is desktop-only until then).
- [ ] Phase 5: interoperability testing with Thunderbird and GnuPG, large attachments, multiple recipients, corrupted payloads.
- [ ] Phase 6: documentation, security review, release.
## Appearance and settings