Skip to content

Upgrade key.pem & cert.pem to ED25519 algorithm #10856

Description

@DoctorD90

Feature description

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.

Activity

  1. added
    enhancement
    needs-triage
    on Aug 13, 2026
  2. marbens-arch commented on Aug 13, 2026

    @marbens-arch
    Member

    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.

  3. DoctorD90 commented on Aug 13, 2026

    @DoctorD90
    Author

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds-triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions