You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as discussed in #10, the simpletest for this library fails:
on 5.0
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Generating keypair...
Encrypting message...
Traceback (most recent call last):
File "code.py", line 16, in <module>
File "/lib/adafruit_rsa/pkcs1.py", line 173, in encrypt
File "/lib/adafruit_rsa/transform.py", line 181, in int2bytes
AssertionError: Number must be an unsigned integer, not a float.
and on 4.1.2
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Generating keypair...
Encrypting message...
Traceback (most recent call last):
File "code.py", line 16, in <module>
File "/lib/adafruit_rsa/pkcs1.py", line 173, in encrypt
File "/lib/adafruit_rsa/transform.py", line 177, in int2bytes
AssertionError: Number must be an unsigned integer, not a float.```
The text was updated successfully, but these errors were encountered:
as discussed in #10, the simpletest for this library fails:
on 5.0
and on 4.1.2
The text was updated successfully, but these errors were encountered: