-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: index out of range #13
Comments
I got the same problem |
Try just |
Same problem here. Is there any solution for this error? out = b'HC1:' + b45encode(out) -> doesn't work for me. I have another problem with: Traceback (most recent call last): |
Remove encode |
@senzacionale |
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 = b'HC1:' + b45encode(out).encode('ascii')
AttributeError: 'bytes' object has no attribute 'encode'
Traceback (most recent call last):
File "hc1_verify.py", line 153, in
if (cin[0] == 0x78):
IndexError: index out of range
python3 -V
Python 3.7.3
The text was updated successfully, but these errors were encountered: