ehn-sign-verify-python-trivial
ehn-sign-verify-python-trivial copied to clipboard
Extremely minimal python implementation of the eHN-S protocol.
Traceback (most recent call last): File "./hc1_verify.py", line 155, in if (cin[0] == 0x78): IndexError: index out of range
``` Traceback (most recent call last): File "/root/Desktop/ehn-sign-verify-python-trivial/hc1_sign.py", line 85, in payload = json.loads(payload.decode("utf-8")) File "/usr/lib/python3.9/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.9/json/decoder.py", line 337, in decode obj, end...
Hi all, QRDECODE is not present on OSX Big Sur and cannot install with "brew install qrdecode". Any idea how pass a QRcode image png value to script? Thanks
Hello @dirkx , I am from an airline IT team and we are creating an application to use DGC for retrieving Vaccination information. This information is needed to determine whether...
when I run: ./pem2json-kid.sh I get: zsh: permission denied: ./pem2json-kid.sh
Testing the utility i get the following traceback and error: echo '{"A": 1234}' | python3 hc1_sign.py | python3 hc1_verify.py Traceback (most recent call last): File "hc1_sign.py", line 149, in out...
when i run: echo '(my json code)' | python3 hc1_sign.py | python3 hc1_verify.py I get two errors 1) Traceback (most recent call last): File "/Downloads/ehn-sign-verify-python-trivial/hc1_sign.py", line 149, in out =...
Hi, Pretty sure in the readme.md it is supposed to be Run the command: echo '{"A": 1234}' | python3.8 hc1_sign.py | python3.8 hc1_verify.py minor thing, but hey :)
Trying to execute `echo "{'A': 1234}" | python3 hc1_sign.py | python3 hc1_verify.py` this error occurs ``` Traceback (most recent call last): File "/home/pi/ehn-sign-verify-python-trivial/hc1_sign.py", line 13, in from cose.curves import P256...
`h1_verify.py` assumes that ECDSA is used for verification, see https://github.com/Digitaler-Impfnachweis/certification-apis/issues/88#issuecomment-860081870 for context. The CI script used in https://github.com/eu-digital-green-certificates/dgc-testdata shows how RSASSA-PSS can be supported: ```python if isinstance(cert.public_key(), rsa.RSAPublicKey): e =...