Open JsBergbau opened 3 years ago
Hi @JsBergbau, I run into the same issue. Seems the cose library was reorganized with new version. So with new cose library you should include P256 like this:
from cose.keys.curves import P256
See also https://github.com/ehn-dcc-development/python-hcert for a ready to use library. Not yet on PyPi, but I'm happy to publish it if requested.
Trying to execute
echo "{'A': 1234}" | python3 hc1_sign.py | python3 hc1_verify.py
this error occursOf course module is installed via
pip3 install cose
What is wrong here?