Skip to content

JSON representation of private key wrongly contains ASN1 header #13

@eugene-bright

Description

@eugene-bright

While examining demo page I found inconsistencies between ASN1 and JSON data representation.
Looks like two first bytes of .privateKey in JSON representation belong to ASN1 header and is not a part of the key.
Method gostCrypto.asn1.PrivateKeyInfo.decode should be fixed.

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