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

Refactor: remove jwcrypto #624

Merged
merged 3 commits into from
May 31, 2022
Merged

Refactor: remove jwcrypto #624

merged 3 commits into from
May 31, 2022

Conversation

angela-tran
Copy link
Member

@angela-tran angela-tran commented May 24, 2022

Closes #617

Reviewing this PR

  • First, review cal-itp/eligibility-api#31
  • Then, on this branch, make sure the eligibility-api package is installed by either:
    • rebuilding the client image and the devcontainer
    • OR running pip install -r requirements.txt (run pip uninstall eligibility-api first if you previously installed it and want to re-install it)
  • Run the Pytests at tests/pytest/eligibility/test_views.py to see that eligibility verification still works

@angela-tran angela-tran added this to the Eligibility API refactor milestone May 24, 2022
@github-actions github-actions bot added tests Related to automated testing (unit, UI, integration, etc.) deployment-dev [auto] Changes that will trigger a deploy if merged to dev labels May 24, 2022
@angela-tran
Copy link
Member Author

@thekaveman I saw your comment on cal-itp/eligibility-api#31. This PR will definitely change due to that, so please ignore its current state! Thanks 🙏

requirements.txt Outdated Show resolved Hide resolved
the API expects to accept the public/private keys as in raw data form,
either as a string or a bytes-like object.
@angela-tran angela-tran force-pushed the refactor/remove-jwcrypto branch from 7e0f6c7 to 8cec392 Compare May 26, 2022 19:32
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

This is looking a lot better!

@angela-tran angela-tran self-assigned this May 27, 2022
@angela-tran angela-tran marked this pull request as ready for review May 31, 2022 16:01
@angela-tran angela-tran requested a review from a team as a code owner May 31, 2022 16:01
Copy link
Member

@thekaveman thekaveman left a comment

Choose a reason for hiding this comment

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

Rebuilt both containers, ran all pytests, all passed ✅

@angela-tran angela-tran merged commit 641c0b8 into dev May 31, 2022
@angela-tran angela-tran deleted the refactor/remove-jwcrypto branch May 31, 2022 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment-dev [auto] Changes that will trigger a deploy if merged to dev tests Related to automated testing (unit, UI, integration, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove dependency on jwcrypto and cryptography
2 participants