Skip to content
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

Changed 1 character. Should fix stuff #12

Merged
merged 2 commits into from
Aug 7, 2020
Merged

Changed 1 character. Should fix stuff #12

merged 2 commits into from
Aug 7, 2020

Conversation

evaherrada
Copy link
Collaborator

Simpletest currently works. I'm running rsa_tests right now, and it's running better than it was before, although I'm not convinced this was the only issue.

adafruit_rsa/transform.py Outdated Show resolved Hide resolved
@evaherrada evaherrada requested a review from brentru August 7, 2020 15:17
@evaherrada
Copy link
Collaborator Author

It seems like there are issues with signing using sha based on the test file. I don't think the issues are related to this one. I haven't gotten to the end of the test file yet but I'll just use a try/except to find out how each one is failing. I'll open an issue, and if it seems easy enough, fix it.

@brentru
Copy link
Member

brentru commented Aug 7, 2020

@dherrada Could you attach the REPL output of simpletest with this patch applied?

@evaherrada
Copy link
Collaborator Author

@brentru sure. Here ya go

code.py output:
Generating keypair...
Encrypting message...
Decrypting message...
Decrypted Message:  hello blinka

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and fixes assertion issues

@brentru brentru merged commit f00490d into master Aug 7, 2020
@evaherrada evaherrada deleted the dherrada-patch-1 branch August 7, 2020 20:37
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 11, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_BitmapSaver to 1.1.2 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_BitmapSaver#12 from FoamyGuy/fix_for_board_without_display

Updating https://github.com/adafruit/Adafruit_CircuitPython_RSA to 1.2.0 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_RSA#14 from adafruit/sha_fix
  > Merge pull request adafruit/Adafruit_CircuitPython_RSA#12 from adafruit/dherrada-patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_MatrixPortal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AssertionError: Number must be an unsigned integer, not a float
2 participants