Skip to content

OneKey(PublicKey, PrivateKey) constructor does not consistently set KeyKeys.Algorithm #114

@iaik-jheher

Description

@iaik-jheher

The OneKey(PublicKey, PrivateKey) constructor does not consistently set the algorithm (3) key in the resulting map.

This causes the resulting CBOR object to violate specs such as the WebAuthn spec, and is just generally poor practice.

(The exception are EDDSA keys, which set the key.)

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