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.
While examining demo page I found inconsistencies between ASN1 and JSON data representation.
Looks like two first bytes of
.privateKeyin JSON representation belong to ASN1 header and is not a part of the key.Method
gostCrypto.asn1.PrivateKeyInfo.decodeshould be fixed.