Skip to content

Feature Request: Support for Elliptic Curve Keys in JWT Decoder #153

@sboett-dev

Description

@sboett-dev

Currently, the Kuksa.val Databroker only supports RSA keys for JWT decoding:

let decoding_key = match DecodingKey::from_rsa_pem(public_key.into().as_bytes()) {

I’d like to request support for elliptic curve keys, specifically:

  • ECDSA with curve secp256r1 (ES256)
  • EdDSA with curve ed25519 (EdDSA)

Elliptic curve keys offer several advantages over RSA:

  • Smaller key sizes for equivalent security
  • Faster signing and verification
  • Lower resource usage (ideal for embedded/automotive environments)

Support for these algorithms would improve compatibility with modern JWT practices and enable more efficient cryptographic operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions