Add OpenPGP mail encryption: decrypt, verify, encrypt, sign and contact keyring, v0.3.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-10-07 15:39:51 +03:00
co-authored by Copilot
parent bae9c7966d
commit 750665f96b
23 changed files with 1493 additions and 42 deletions
+8 -5
View File
@@ -27,11 +27,14 @@
- [ ] 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.
- [x] 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.
- [x] 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.
- [x] Phase 4 (desktop): trust levels and fingerprint verification, key-change warnings, passphrase cache timeout.
- [ ] Phase 4 (Android): Android Keystore key storage, biometric unlock, and the reading/sending bridge (encryption is desktop-only until then).
- [x] Phase 5 (automated): large attachments, multiple recipients, corrupted/tampered payloads, inline PGP and PGP/MIME tests.
- [ ] Phase 5 (manual): interoperability check with Thunderbird and GnuPG.
- [x] Phase 6: documentation and release.
- [ ] Independent security review of the encryption code before relying on it.
## Appearance and settings