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

Update python keycloak #349

Closed
wants to merge 3 commits into from
Closed

Conversation

FedericoNegri
Copy link
Contributor

@FedericoNegri FedericoNegri commented Mar 4, 2024

Issue:

  • python-keycloak versions < 3.9.1 depend on python-jose which in turn depends on ecdsa, which has safety vulnerabilities
  • because of the above, python-keycloak >= 3.9.1 replaced python-jose with jwcrypto which is LGPL.

@github-actions github-actions bot added dependencies Related with project dependencies maintenance Package and maintenance related labels Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 92.84%. Comparing base (daf8ccb) to head (194f5b5).

Files Patch % Lines
src/ansys/hps/client/client.py 90.00% 2 Missing ⚠️
src/ansys/hps/client/auth/api/auth_api.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #349      +/-   ##
==========================================
+ Coverage   92.82%   92.84%   +0.01%     
==========================================
  Files          61       61              
  Lines        2258     2277      +19     
==========================================
+ Hits         2096     2114      +18     
- Misses        162      163       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -164,26 +168,28 @@ def delete_user(self, user: User) -> None:
return self.keycloak_admin_client.delete_user(user.id)


def _admin_client(client):
def _admin_client(client: "Client"):
"""Set information for admin.
Copy link
Member

Choose a reason for hiding this comment

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

Descriptions should be in plain English. Spell out "admin" to "administrator" if that is what is meant.

@FedericoNegri
Copy link
Contributor Author

abandoning in favor of #352

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related with project dependencies maintenance Package and maintenance related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants