-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to use OpenPGP v6 keys #6226
Conversation
Don't know yet what's the problem with x25519, this test passes in rpgp repo:
|
This reverts commit a1bb0c6.
X25519 does not work because it is ignored when selecting encryption subkey: rpgp/rpgp#434 |
Does not work yet without X25519 fixes in rPGP, we will need to wait for the new version. We will also need to fix key selection to look at key flags rather than just "if the key supports encryption". |
Experiment to see if we will be possible to introduce V6 in the future.
Currently receiving v6 X25519 in Autocrypt header results in Delta Chat storing it, but then not encrypting to the recipient. Even worse, message is encrypted and consists of a single SEIPDv1 packet, but session key is not encrypted to any recipients so nobody can decrypt the message, which is worse than sending it plaintext.
We need to wait for rPGP version with rpgp/rpgp#434 and probably reject keys that have no encryption subkeys right away instead of storing them.
Other features of OpenPGP v6 like SEIPDv2 are not tested yet.