Skip to content

RSA and ECDSA keys should be encoded as a PEM string #204

@erickt

Description

@erickt

According to the spec section 4.2, "rsa" and "ecdsa" keys, as defined by:

  { "keytype" : "rsa",
    "scheme" : "rsassa-pss-sha256",
    "keyval" : {"public" : PUBLIC}
  }

  { "keytype" : "ecdsa-sha2-nistp256",
    "scheme" : "ecdsa-sha2-nistp256",
    "keyval" : {"public" : PUBLIC}
  }

The public portion of the key should be encoded as a PEM string, not base64(spki(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