Closed opacey closed 1 year ago
it's part of the API that the function must follow to be usable for signature verification, it needs to stay
Oh I see, fair enough, though it did cause me (a newcomer) some confusion in figuring out other issues I was having. Perhaps its status could be noted in the documentation to help those like me. Thanks.
PR with doc updates welcome, but I think the module description for util.py makes it rather clear: https://github.com/tlsfuzzer/python-ecdsa/blob/2457dc7c9b7337edcb868a323c5b648a32da2b8c/src/ecdsa/util.py#L2-L11
The 'order' parameter is not used in this function:
def sigdecode_der(sig_der, order):
...within ecdsa/util.pyI believe curve group order is not relevant to this function so could be removed for clarity.