-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Expected behavior
All the code used for cryptography, authentication or authorization related operations must be top notch, from popular, maintained and robust libraries.
A popular saying applies: "Good friends don't let friends program cryptography"
Actual behavior
Library oic
(OIC = OpenID Connect) uses a crypto-related library that is unmaintained, and has been unable to replace it for over 4 years.
- pyjwkest has a very clear message: "NOTE!! This library is NOT actively maintained anymore." It has not had a release in the last six years.
The ideas of switching to any of these libraries have utterly failed
pyca/cryptography
(the golden standard) has been discussed for over 4 years, without results (GH issue)- JWCrypto (latchset/jwcrypto) has been discussed for over 4 years, without results (GH issue)
Not crypto-related but with cybersecurity relevance:
- defusedxml (repo): latest release in March 2021
Failure Logs
Check out these alternatives:
- OAuthLib + Django OAuth Toolkit
- oauthlib): "Python Framework for OAuth1 & OAuth2". "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic for Python 3.6+."
- django-oauth-toolkit: "Django OAuth Toolkit can help you providing out of the box all the endpoints, data and logic needed to add OAuth2 capabilities to your Django projects. Django OAuth Toolkit makes extensive use of the excellent OAuthLib, so that everything is rfc-compliant."
- Authlib (lepture/authlib): "The ultimate Python library in building OAuth and OpenID Connect servers." Includes integrations with Django, Flask, and other Python web frameworks.
Failure Logs
N/A
Context
N/A
Metadata
Metadata
Assignees
Labels
No labels