Dmitriy Kinoshenko
Dmitriy Kinoshenko
Added ES256K algorithm which uses ECDSA with the secp256k1 curve and the SHA-256 cryptographic hash function. Fixes #263 in accordance with https://tools.ietf.org/html/draft-ietf-cose-webauthn-algorithms-03 (see [comment](https://github.com/square/go-jose/issues/263#issuecomment-552417473)).
If the input JSON-LD document contains two sibling fields with the same `id`, then it's possible that framing is applied on the wrong element. Example test code (note that `issuer`...
Used kilic#15 as a reference. We need this hash function configurability because BBS+ signature schema (reference implementation is https://github.com/hyperledger/ursa/tree/master/libzmix/bbs) uses blake2d hash.
The signature on `example-016-jwt.jwt`, `example-016-jwt-presentation.jsonld`, `example-016-jwt-presentation-no-iss.jsonld`, `example-016-jwt-presentation-no-jti.jsonld` is fixed using the RSA key in the example config. In the existent test cases, it's not known what key was used to...
What is correct JWK for the decoding JWS into the credentials data model tests (`--jwt-decode` parameter), `example-016-jwt.jwt`? It's RS256 but the one defined at `config.json.example` is not valid: ``` "rs256PrivateKeyJwk":{...
When decoded, VC inside JWS (example-016-jwt.jwt) is incorrect: ``` { "@context": [ "https://w3.org/2018/credentials/v1", "https://example.com/examples/v1" ], "credentialSubject": { "degree": { "name": "Bachelor of Science in Mechanical Engineering", "type": "BachelorDegree" } },...