Currently, the workflow in signtest.py (which mimics that of the flask server in server.py) results in
(anybackend) shinichi@ilya:~/source/anyledger/anyledger-backend [master*]$ python signtest.py
b'0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'
Verifying Message
Traceback (most recent call last):
File "signtest.py", line 12, in <module>
pk.verify(convert_eth_signature(signature), message, hasher=keccak)
File "/home/shinichi/.virtualenvs/anybackend/lib/python3.6/site-packages/coincurve/keys.py", line 285, in verify
self.context.ctx, der_to_cdata(signature), msg_hash, self.public_key
File "/home/shinichi/.virtualenvs/anybackend/lib/python3.6/site-packages/coincurve/ecdsa.py", line 27, in der_to_cdata
raise ValueError('The DER-encoded signature could not be parsed.')
ValueError: The DER-encoded signature could not be parsed.
Currently, the workflow in signtest.py (which mimics that of the flask server in server.py) results in