-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
It's time to remove the ability to import keys through primary or advanced settings in Delta Chat to prevent breakage for users and complications for future development.
Importing OpenPGP keys (by file or ASMs) has the following limitations and problems today:
-
green-checkmarked groups will break and cause
[The message was sent with non-verified encryption. See 'Info' for more details]errors for users. -
password protected keys can not be imported
-
security audits have not and do not cover all possible importable OpenPGP keys and their algorithms. Allowing to import arbitrary OpenPGP keys is not safe, and it is hard to ascertain implementation security through audits.
-
migrating to v6 keys in the future is more complicated if we need to consider migrating from arbitrary keys that came from user imports instead of the RSA/ED25591 ones that Delta Chat generates, in compliance with the Autocrypt spec.
Moreover, very few Delta users even think of manually managing OpenPGP keys, and if they try it, they quickly run into one of the above problems, as happened in some chat groups lately, leading to friction and invalid messages in those groups and debugging time spend to investigate it.
One known objection against removing import-key facilities is that it degrades shared-address interoperability in the sense that multiple different e-mail apps/MUAs can not share an encryption setup for the same e-mail address anymore (however, exporting a key or sending an Autocrypt Setup Message remains available, and e.g. Thunderbird users may thus import keys exported from Delta Chat). But there are hardly any real-world practical usages of shared-address E2EE interoperability today, other than for debugging and expert/developer use cases. After all, sharing a messenger-interface like Delta Chat's with a regular Recipients/Subject-based classic e-mail program anyway causes friction, even without e2ee encryption. For example, Delta Chat does not, like other MUAs, present an "IMAP-folder" view but rather uses IMAP folders to receive messages and generally does not look at received messages later again. Shared-address interop is therefore limited today, and not bound for improvements soon, independent from the import-key issue.
Note that Delta Chat is and remains interoperable in two cruicial ways, it is
-
messaging-interoperable with other MUAs through the use of e-mail addressing and transports, and the use of OpenPGP/Autocrypt encryption and standard MIME messages;
-
server-interoperable in that it can work with different standard SMTP and IMAP servers.