python-ecdsa icon indicating copy to clipboard operation
python-ecdsa copied to clipboard

Support newer ASN.1 signature encoding formats

Open tomato42 opened this issue 4 years ago • 0 comments

SEC 1 v2.0 specifies ECDSA-Sig-Value structure with 4 values, not two, and one alternative formatting:

  • ECDSA-Sig-Value with a or y elements
  • ECDSA-Full-R structure

add support for creating those signatures and verifying them (create alternatives for https://github.com/tlsfuzzer/python-ecdsa/blob/93b04ba3ddb7c2716e07761393a179c061718c34/src/ecdsa/util.py#L365 and https://github.com/tlsfuzzer/python-ecdsa/blob/93b04ba3ddb7c2716e07761393a179c061718c34/src/ecdsa/util.py#L231 that can handle them)

tomato42 avatar Sep 29 '19 22:09 tomato42