Skip to content

ecdsa-01.json has invalid base64 for y value #84

@mcr

Description

@mcr

The y-value listed in the file:

 "y":"IBOL-C3BttVivg-lSreASjpkttcsz-1rb7btKLv8EX4",

is not valid base64! "-" is not a base64 character according to https://en.wikipedia.org/wiki/Base64 and RFC4648. My ruby decoding does not automatically process it. Your encoding is base64url encoded.

Base64.urlsafe_decode64(str) solves this problem, but I wonder if the examples should be coded
into stock base64?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions