You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Upgrade key.pem & cert.pem to ED25519 algorithm #10856
Based on the knowledge of #10854 (comment) (that ED25519 algorithm is supported, but currently not the ED448), instead to use the secp384r1 algorithm as default, or use to ED25519 only if an ED448 key is find out and overwritten, would it be possible to upgrade at the ED25519 algorithm as default algorithm in any case/scenario?
Problem or use case
ED/EX25519 algorithm is preferred over the NIST curves, and it is already implemented and used in syncthing in specific case (when an ED448 key is find out).
Alternatives or workarounds
Create an ED25519 key manually or place an ED448 key before the generation.
would it be possible to upgrade at the ED25519 algorithm as default algorithm in any case/scenario?
This is already done. Ed25519 keys (for sync connections, not web GUI) are generated by default on new installations. Existing keys are kept as is to avoid breaking sync connections.
@marbens-arch I may only say "WoW"... not even asked, and already processed and implemented. I would really make congratulation... first time a team has such quick and fast response.
I text it here cause the PR is locked and I cant add it there:
About the Web certificates (Certificates for browser use remain ECDSA): be aware for the future (if already, apologize in the case) all browsers dont use/adopt ED/EX algos (nor 25519, nor 448) for Certificates; for example: Firefox supports Curve25519 in the key exchange part of the TLS handshake, not in the server certificate (or any other certificate, for that matter). Firefox does not support Curve448.
it is literally a "standard" adopted by web browsers and no one has any interest to implement ED/EX for certificates, being not used by Certificate Authorities: as mentioned here, the CAs follow the CA/B Forum Baseline Requirements, the rules a public CA needs to follow to be trusted in browsers. Under section 6.1.5. “Key Sizes”, the Edwards Curves (25519/448) aren't mentioned as of today. If syncthing will adopt ED/EX curves for web certs, browsers will literally stop processing that page/certificate.
Activity
marbens-arch commentedon Aug 13, 2026
This is already done. Ed25519 keys (for sync connections, not web GUI) are generated by default on new installations. Existing keys are kept as is to avoid breaking sync connections.
DoctorD90 commentedon Aug 13, 2026
@marbens-arch I may only say "WoW"... not even asked, and already processed and implemented. I would really make congratulation... first time a team has such quick and fast response.
I text it here cause the PR is locked and I cant add it there:
About the Web certificates (
Certificates for browser use remain ECDSA): be aware for the future (if already, apologize in the case) all browsers dont use/adopt ED/EX algos (nor 25519, nor 448) for Certificates; for example:Firefox supports Curve25519 in the key exchange part of the TLS handshake, not in the server certificate (or any other certificate, for that matter). Firefox does not support Curve448.it is literally a "standard" adopted by web browsers and no one has any interest to implement ED/EX for certificates, being not used by Certificate Authorities: as mentioned here, the CAs follow the CA/B Forum Baseline Requirements, the rules a public CA needs to follow to be trusted in browsers. Under section 6.1.5. “Key Sizes”, the Edwards Curves (25519/448) aren't mentioned as of today. If syncthing will adopt ED/EX curves for web certs, browsers will literally stop processing that page/certificate.