Skip to content

Import/export in raw format of Ed25519 private keys #8

@vlovich

Description

@vlovich

The spec is a little ambiguous with respect to how raw Ed25519 import/export should be handled. NodeJS allows raw import/export of Ed25519 private keys. I can't tell if this is an erratum in their implementation or an intentional difference from how ECDSA/ECDH work (no raw export for private keys). Similarly, the wording in the explainer document is awkwardly worded, at least to my reading.

For key serialization and deserialization, the supported formats include the raw format for X25519 public keys as an array of raw bytes, as well as the SPKI, the PKCS#8, and the JWK formats for the public or/and the private X25519 or Ed25519 keys.

Since raw is explicitly excluded as a X25519 thing, does this mean that the raw format isn't supported for Ed25519?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions