Autocrypt support for Balsa

Albrecht Dreß <[email protected]>
Newsgroups gmane.comp.gnome.apps.balsa
Message-ID <[email protected]>
Hi all,

I just noticed that I sent my last three messages today with “Autocrypt” [1] headers – I'm working on support for it in Balsa.  As it it /really/ untested yet, I hope it doesn't break anything.  If it does, please tell me…

Hopefully, I can provide a first patch implementing the most simple version of “Autocrypt Level 1” soon.  I plan to include
* scanning the Autocrypt headers (but /not/ Autocrypt-Gossip) from incoming messages,
* maintaining the peer state,
* injecting Autocrypt headers (but /not/ Autocrypt-Gossip) in outgoing messages if requested and
* implement the recommendation for encryption as required by the standard.

I do *not* plan to add gossip (which is a little questionable IMHO) and key management which is better done by specialised applications (gpa, seahorse, etc.).  Of course, the feature can be disabled separately for every identity.

As the peer management is a little complex, I now use a sqlite3 database for that purpose.  It simplifies the code, but is a little against the “lightweight” philosophy of Balsa, as it adds an extra dependency.

And there are some other open questions, e.g. how spam could be detected (the standard says they should be ignored, which makes sense).  A solution might be defining a header indicating spam.  Then it would be nice to have an optional special “Junk” folder, and move new spam messages /automatically/ to it (like Thunderbird).

As only some basic stuff is usable in my test environment at the moment, I could easily modify my plan if you think it's dumb…  As always, any comment is really welcome!

Cheers,
Albrecht.

[1] <https://autocrypt.org/>

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAlv+/8cACgkQTKlvDmfn
2fi/5QgA1Rhk7N+qY8iny0h26lGg5FelJBgfqFS10koPfClu99r1ldo7Rq79Gitl
peIG7yIfV2AAEbBh+FxivfqAqdG74ZTx2gFT6fjYO33zUksEwDRbSouvv6UuTD1o
YzEKlY10viRLO7FYvkNbKb/qr6TYkcKTQzSIqk1BNsuC5J51KqvJ9NVN/DA2raC0
oiEvT3fOhkrDYa/RrgLVqqgFmXRBLWUynHVmRlgw7TEKQE+k57+9OlzPKedHtr5B
TWEKxFcF9jPzuVIQqGEkZkwUDg5/lqhz5vc4uZVHaxTp67ixHkCA+yPIxxPLb/fm
93KbP2OdPJE5v13idu5ZdRmXALzq1g==
=Skmm
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.