Skip to content

Fix extra-zero-append error, add util/ #2

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

Merged
merged 3 commits into from
Aug 21, 2019

Conversation

brentru
Copy link
Member

@brentru brentru commented Aug 21, 2019

Fixing extra-zero-append error within transform.py/int2bytes causing invalid RSA signatures.

Adds util/ folder with script to run on your computer (not the CircuitPython device) to generate public (rsa_public.pem) and private(rsa_private.pem) key pairs. The script also decodes the generated rsa_private.pem into a PrivateKey tuple for copy/paste into a secrets.py dict. file on a CircuitPython board.

@brentru brentru added bug Something isn't working enhancement New feature or request labels Aug 21, 2019
@brentru brentru requested a review from a team August 21, 2019 19:26
@brentru brentru merged commit 4024b7c into adafruit:master Aug 21, 2019
@brentru brentru deleted the patch-decode-encode branch August 21, 2019 20:04
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 22, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_RSA to 1.0.1 from v1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_RSA#2 from brentru/patch-decode-encode

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_RSA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants