dhensby / node-http-message-signatures

A node package for signing HTTP messages as per the http-message-signing draft specification
ISC License
13 stars 8 forks source link

fix: using specification algorithm for ECDSA signatures (IEEE-P1363 format) #162

Closed AlexanderTar closed 6 months ago

AlexanderTar commented 6 months ago

By default, crypto library is using ASN.1/DER encoding for ECDSA signatures. Message signatures draft specifies a simple r || s concatenated encoding (also known as IEEE-P1363) instead

I've changed the library to support specified format and updated test cases to verify signatures from the spec

github-actions[bot] commented 6 months ago

:tada: This PR is included in version 1.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: