-
Notifications
You must be signed in to change notification settings - Fork 346
[DRAFT] fix: remove deprecated rsa dependency #1930
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
Draft
daniel-sanche
wants to merge
60
commits into
main
Choose a base branch
from
remove_rsa_3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
f357187
added warning
daniel-sanche 575113c
added posargs to unit test nox command
daniel-sanche bef613a
added test
daniel-sanche 15e6e7b
add rsa extra
daniel-sanche 7715f92
updated warning
daniel-sanche ddacaf2
added TODO
daniel-sanche 5573db6
added docstring warnings
daniel-sanche 07a4f22
remove extra dependency
daniel-sanche 6890572
Merge branch 'main' into warn_rsa
daniel-sanche c2ceeb4
added default rsa classes
daniel-sanche d1b3fb6
added shared wrapper class for RSASigner and RSAVerifier
daniel-sanche ad651ed
changed warning type
daniel-sanche 540f260
added deprecation notices to docstrings
daniel-sanche a4830fa
Merge branch 'warn_rsa' into remove_rsa_2
daniel-sanche 68410f1
moved warning
daniel-sanche f89e444
fixed warning type in tests
daniel-sanche fd429f3
remove rsa as required dependency
daniel-sanche fd1ae50
fixed errors
daniel-sanche 0895998
added custom exception
daniel-sanche 69bae96
ran blacken
daniel-sanche a803198
added new test file
daniel-sanche 716bec3
added test file
daniel-sanche 6191d3b
fixed bugs in implementation
daniel-sanche b7c270b
InvalidValue -> ValueError
daniel-sanche a1e0389
clean up tests
daniel-sanche 6b17faa
finished tests
daniel-sanche e88fc1c
added e2e tests
daniel-sanche d7a3b23
added warning tests
daniel-sanche d0f1747
added unit tests
daniel-sanche db7037c
fixed lint
daniel-sanche 556aa32
Merge branch 'main' into remove_rsa_2
daniel-sanche a9027c4
fixed typos
daniel-sanche d6ec87f
made cryptography into required dependency
daniel-sanche 6aa7f41
rewrote classes to assume cryptography and rsa are both present
daniel-sanche a8efb6b
simplified from_string
daniel-sanche 02dace8
updated tests
daniel-sanche 3dd119f
Update google/auth/crypt/rsa.py
daniel-sanche 208299a
Update google/auth/crypt/rsa.py
daniel-sanche 3898071
Update google/auth/crypt/rsa.py
daniel-sanche 754a401
Merge branch 'main' into add_cryptography_dependency
daniel-sanche 7fa0a84
improved init logic
daniel-sanche 2958fe1
fixed lint
daniel-sanche 1ac38ff
improved from_string
daniel-sanche 9a8043f
import rsa only when needed
daniel-sanche 4edfd72
updated dependencies
daniel-sanche a11cb0f
fixed test
daniel-sanche fb52796
removed import check in __init__
daniel-sanche b455d59
fixed lint
daniel-sanche 2416c6f
addressed PR comments
daniel-sanche c20c1af
Merge branch 'main' into add_cryptography_dependency
daniel-sanche 1edd592
fixed lint
daniel-sanche 1ccbb53
Merge branch 'main' into add_cryptography_dependency
daniel-sanche ba8b25e
updated cryptography requirement in enterprise_cert_extra
daniel-sanche 6efed1d
Update google/auth/crypt/rsa.py
daniel-sanche e6e9c26
Merge branch 'add_cryptography_dependency' into remove_rsa_3
daniel-sanche d3ab2e7
fixed lint
daniel-sanche 971cbd7
fixed mypy
daniel-sanche 61da847
Merge branch 'main' into remove_rsa_3
daniel-sanche b43f691
remove rsa from constraints file
daniel-sanche 694dc4e
Merge branch 'main' into remove_rsa_3
daniel-sanche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add an extra for
rsasince we still use it in the codegoogle-auth-library-python/google/auth/crypt/_python_rsa.py
Line 31 in 6a982be
Otherwise, the changes look good.