pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-authlib py-authlib: updated to 0.15



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c293889f2d9
branches:  trunk
changeset: 440527:3c293889f2d9
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Oct 10 18:04:52 2020 +0000

description:
py-authlib: updated to 0.15

Version 0.15

This is the last release before v1.0. In this release, we added more RFCs
implementations and did some refactors for JOSE:

RFC8037: CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)
RFC7638: JSON Web Key (JWK) Thumbprint

We also fixed bugs for integrations:

Fixed support for HTTPX>=0.14.3
Added OAuth clients of HTTPX back
Fixed parallel token refreshes for HTTPX async OAuth 2 client
Raise OAuthError when callback contains errors

Breaking Change:

The parameter algorithms in JsonWebSignature and JsonWebEncryption
are changed. Usually you don't have to care about it since you won't use it directly.
Whole JSON Web Key is refactored, please check JSON Web Key (JWK)

diffstat:

 security/py-authlib/Makefile |    4 +-
 security/py-authlib/PLIST    |  308 ++++++------------------------------------
 security/py-authlib/distinfo |   10 +-
 3 files changed, 56 insertions(+), 266 deletions(-)

diffs (truncated from 417 to 300 lines):

diff -r 570324c2b7f3 -r 3c293889f2d9 security/py-authlib/Makefile
--- a/security/py-authlib/Makefile      Sat Oct 10 18:00:57 2020 +0000
+++ b/security/py-authlib/Makefile      Sat Oct 10 18:04:52 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/06/11 14:24:49 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/10/10 18:04:52 adam Exp $
 
-DISTNAME=      Authlib-0.14.3
+DISTNAME=      Authlib-0.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    security python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=A/Authlib/}
diff -r 570324c2b7f3 -r 3c293889f2d9 security/py-authlib/PLIST
--- a/security/py-authlib/PLIST Sat Oct 10 18:00:57 2020 +0000
+++ b/security/py-authlib/PLIST Sat Oct 10 18:04:52 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2020/06/11 14:24:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/10/10 18:04:52 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,18 +8,6 @@
 ${PYSITELIB}/authlib/__init__.py
 ${PYSITELIB}/authlib/__init__.pyc
 ${PYSITELIB}/authlib/__init__.pyo
-${PYSITELIB}/authlib/client/__init__.py
-${PYSITELIB}/authlib/client/__init__.pyc
-${PYSITELIB}/authlib/client/__init__.pyo
-${PYSITELIB}/authlib/client/aiohttp.py
-${PYSITELIB}/authlib/client/aiohttp.pyc
-${PYSITELIB}/authlib/client/aiohttp.pyo
-${PYSITELIB}/authlib/client/errors.py
-${PYSITELIB}/authlib/client/errors.pyc
-${PYSITELIB}/authlib/client/errors.pyo
-${PYSITELIB}/authlib/client/oauth_client.py
-${PYSITELIB}/authlib/client/oauth_client.pyc
-${PYSITELIB}/authlib/client/oauth_client.pyo
 ${PYSITELIB}/authlib/common/__init__.py
 ${PYSITELIB}/authlib/common/__init__.pyc
 ${PYSITELIB}/authlib/common/__init__.pyo
@@ -41,42 +29,6 @@
 ${PYSITELIB}/authlib/deprecate.py
 ${PYSITELIB}/authlib/deprecate.pyc
 ${PYSITELIB}/authlib/deprecate.pyo
-${PYSITELIB}/authlib/django/__init__.py
-${PYSITELIB}/authlib/django/__init__.pyc
-${PYSITELIB}/authlib/django/__init__.pyo
-${PYSITELIB}/authlib/django/client/__init__.py
-${PYSITELIB}/authlib/django/client/__init__.pyc
-${PYSITELIB}/authlib/django/client/__init__.pyo
-${PYSITELIB}/authlib/django/oauth1/__init__.py
-${PYSITELIB}/authlib/django/oauth1/__init__.pyc
-${PYSITELIB}/authlib/django/oauth1/__init__.pyo
-${PYSITELIB}/authlib/django/oauth2/__init__.py
-${PYSITELIB}/authlib/django/oauth2/__init__.pyc
-${PYSITELIB}/authlib/django/oauth2/__init__.pyo
-${PYSITELIB}/authlib/flask/__init__.py
-${PYSITELIB}/authlib/flask/__init__.pyc
-${PYSITELIB}/authlib/flask/__init__.pyo
-${PYSITELIB}/authlib/flask/client/__init__.py
-${PYSITELIB}/authlib/flask/client/__init__.pyc
-${PYSITELIB}/authlib/flask/client/__init__.pyo
-${PYSITELIB}/authlib/flask/oauth1/__init__.py
-${PYSITELIB}/authlib/flask/oauth1/__init__.pyc
-${PYSITELIB}/authlib/flask/oauth1/__init__.pyo
-${PYSITELIB}/authlib/flask/oauth1/cache.py
-${PYSITELIB}/authlib/flask/oauth1/cache.pyc
-${PYSITELIB}/authlib/flask/oauth1/cache.pyo
-${PYSITELIB}/authlib/flask/oauth1/sqla.py
-${PYSITELIB}/authlib/flask/oauth1/sqla.pyc
-${PYSITELIB}/authlib/flask/oauth1/sqla.pyo
-${PYSITELIB}/authlib/flask/oauth2/__init__.py
-${PYSITELIB}/authlib/flask/oauth2/__init__.pyc
-${PYSITELIB}/authlib/flask/oauth2/__init__.pyo
-${PYSITELIB}/authlib/flask/oauth2/cache.py
-${PYSITELIB}/authlib/flask/oauth2/cache.pyc
-${PYSITELIB}/authlib/flask/oauth2/cache.pyo
-${PYSITELIB}/authlib/flask/oauth2/sqla.py
-${PYSITELIB}/authlib/flask/oauth2/sqla.pyc
-${PYSITELIB}/authlib/flask/oauth2/sqla.pyo
 ${PYSITELIB}/authlib/integrations/__init__.py
 ${PYSITELIB}/authlib/integrations/__init__.pyc
 ${PYSITELIB}/authlib/integrations/__init__.pyo
@@ -236,6 +188,12 @@
 ${PYSITELIB}/authlib/jose/__init__.py
 ${PYSITELIB}/authlib/jose/__init__.pyc
 ${PYSITELIB}/authlib/jose/__init__.pyo
+${PYSITELIB}/authlib/jose/drafts/__init__.py
+${PYSITELIB}/authlib/jose/drafts/__init__.pyc
+${PYSITELIB}/authlib/jose/drafts/__init__.pyo
+${PYSITELIB}/authlib/jose/drafts/_jwe_enc_cryptography.py
+${PYSITELIB}/authlib/jose/drafts/_jwe_enc_cryptography.pyc
+${PYSITELIB}/authlib/jose/drafts/_jwe_enc_cryptography.pyo
 ${PYSITELIB}/authlib/jose/errors.py
 ${PYSITELIB}/authlib/jose/errors.pyc
 ${PYSITELIB}/authlib/jose/errors.pyo
@@ -263,45 +221,36 @@
 ${PYSITELIB}/authlib/jose/rfc7517/__init__.py
 ${PYSITELIB}/authlib/jose/rfc7517/__init__.pyc
 ${PYSITELIB}/authlib/jose/rfc7517/__init__.pyo
-${PYSITELIB}/authlib/jose/rfc7517/_backends/__init__.py
-${PYSITELIB}/authlib/jose/rfc7517/_backends/__init__.pyc
-${PYSITELIB}/authlib/jose/rfc7517/_backends/__init__.pyo
-${PYSITELIB}/authlib/jose/rfc7517/_backends/_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7517/_backends/_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7517/_backends/_cryptography.pyo
-${PYSITELIB}/authlib/jose/rfc7517/jwk.py
-${PYSITELIB}/authlib/jose/rfc7517/jwk.pyc
-${PYSITELIB}/authlib/jose/rfc7517/jwk.pyo
+${PYSITELIB}/authlib/jose/rfc7517/models.py
+${PYSITELIB}/authlib/jose/rfc7517/models.pyc
+${PYSITELIB}/authlib/jose/rfc7517/models.pyo
 ${PYSITELIB}/authlib/jose/rfc7518/__init__.py
 ${PYSITELIB}/authlib/jose/rfc7518/__init__.pyc
 ${PYSITELIB}/authlib/jose/rfc7518/__init__.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/__init__.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/__init__.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/__init__.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_alg_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_alg_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_alg_cryptography.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_enc_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_enc_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwe_enc_cryptography.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwk_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwk_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jwk_cryptography.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jws_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jws_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_jws_cryptography.pyo
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_key_cryptography.py
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_key_cryptography.pyc
-${PYSITELIB}/authlib/jose/rfc7518/_backends/_key_cryptography.pyo
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/__init__.py
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/__init__.pyc
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/__init__.pyo
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_alg.py
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_alg.pyc
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_alg.pyo
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_enc.py
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_enc.pyc
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jwe_enc.pyo
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jws.py
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jws.pyc
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_jws.pyo
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_keys.py
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_keys.pyc
+${PYSITELIB}/authlib/jose/rfc7518/_cryptography_backends/_keys.pyo
 ${PYSITELIB}/authlib/jose/rfc7518/jwe_algorithms.py
 ${PYSITELIB}/authlib/jose/rfc7518/jwe_algorithms.pyc
 ${PYSITELIB}/authlib/jose/rfc7518/jwe_algorithms.pyo
-${PYSITELIB}/authlib/jose/rfc7518/jwk_algorithms.py
-${PYSITELIB}/authlib/jose/rfc7518/jwk_algorithms.pyc
-${PYSITELIB}/authlib/jose/rfc7518/jwk_algorithms.pyo
 ${PYSITELIB}/authlib/jose/rfc7518/jws_algorithms.py
 ${PYSITELIB}/authlib/jose/rfc7518/jws_algorithms.pyc
 ${PYSITELIB}/authlib/jose/rfc7518/jws_algorithms.pyo
+${PYSITELIB}/authlib/jose/rfc7518/oct_key.py
+${PYSITELIB}/authlib/jose/rfc7518/oct_key.pyc
+${PYSITELIB}/authlib/jose/rfc7518/oct_key.pyo
 ${PYSITELIB}/authlib/jose/rfc7518/util.py
 ${PYSITELIB}/authlib/jose/rfc7518/util.pyc
 ${PYSITELIB}/authlib/jose/rfc7518/util.pyo
@@ -314,6 +263,15 @@
 ${PYSITELIB}/authlib/jose/rfc7519/jwt.py
 ${PYSITELIB}/authlib/jose/rfc7519/jwt.pyc
 ${PYSITELIB}/authlib/jose/rfc7519/jwt.pyo
+${PYSITELIB}/authlib/jose/rfc8037/__init__.py
+${PYSITELIB}/authlib/jose/rfc8037/__init__.pyc
+${PYSITELIB}/authlib/jose/rfc8037/__init__.pyo
+${PYSITELIB}/authlib/jose/rfc8037/_jws_cryptography.py
+${PYSITELIB}/authlib/jose/rfc8037/_jws_cryptography.pyc
+${PYSITELIB}/authlib/jose/rfc8037/_jws_cryptography.pyo
+${PYSITELIB}/authlib/jose/rfc8037/okp_key.py
+${PYSITELIB}/authlib/jose/rfc8037/okp_key.pyc
+${PYSITELIB}/authlib/jose/rfc8037/okp_key.pyo
 ${PYSITELIB}/authlib/jose/util.py
 ${PYSITELIB}/authlib/jose/util.pyc
 ${PYSITELIB}/authlib/jose/util.pyo
@@ -467,9 +425,9 @@
 ${PYSITELIB}/authlib/oauth2/rfc7523/client.py
 ${PYSITELIB}/authlib/oauth2/rfc7523/client.pyc
 ${PYSITELIB}/authlib/oauth2/rfc7523/client.pyo
-${PYSITELIB}/authlib/oauth2/rfc7523/grant.py
-${PYSITELIB}/authlib/oauth2/rfc7523/grant.pyc
-${PYSITELIB}/authlib/oauth2/rfc7523/grant.pyo
+${PYSITELIB}/authlib/oauth2/rfc7523/jwt_bearer.py
+${PYSITELIB}/authlib/oauth2/rfc7523/jwt_bearer.pyc
+${PYSITELIB}/authlib/oauth2/rfc7523/jwt_bearer.pyo
 ${PYSITELIB}/authlib/oauth2/rfc7591/__init__.py
 ${PYSITELIB}/authlib/oauth2/rfc7591/__init__.pyc
 ${PYSITELIB}/authlib/oauth2/rfc7591/__init__.pyo
@@ -482,6 +440,12 @@
 ${PYSITELIB}/authlib/oauth2/rfc7591/errors.py
 ${PYSITELIB}/authlib/oauth2/rfc7591/errors.pyc
 ${PYSITELIB}/authlib/oauth2/rfc7591/errors.pyo
+${PYSITELIB}/authlib/oauth2/rfc7592/__init__.py
+${PYSITELIB}/authlib/oauth2/rfc7592/__init__.pyc
+${PYSITELIB}/authlib/oauth2/rfc7592/__init__.pyo
+${PYSITELIB}/authlib/oauth2/rfc7592/endpoint.py
+${PYSITELIB}/authlib/oauth2/rfc7592/endpoint.pyc
+${PYSITELIB}/authlib/oauth2/rfc7592/endpoint.pyo
 ${PYSITELIB}/authlib/oauth2/rfc7636/__init__.py
 ${PYSITELIB}/authlib/oauth2/rfc7636/__init__.pyc
 ${PYSITELIB}/authlib/oauth2/rfc7636/__init__.pyo
@@ -509,15 +473,15 @@
 ${PYSITELIB}/authlib/oauth2/rfc8628/__init__.py
 ${PYSITELIB}/authlib/oauth2/rfc8628/__init__.pyc
 ${PYSITELIB}/authlib/oauth2/rfc8628/__init__.pyo
+${PYSITELIB}/authlib/oauth2/rfc8628/device_code.py
+${PYSITELIB}/authlib/oauth2/rfc8628/device_code.pyc
+${PYSITELIB}/authlib/oauth2/rfc8628/device_code.pyo
 ${PYSITELIB}/authlib/oauth2/rfc8628/endpoint.py
 ${PYSITELIB}/authlib/oauth2/rfc8628/endpoint.pyc
 ${PYSITELIB}/authlib/oauth2/rfc8628/endpoint.pyo
 ${PYSITELIB}/authlib/oauth2/rfc8628/errors.py
 ${PYSITELIB}/authlib/oauth2/rfc8628/errors.pyc
 ${PYSITELIB}/authlib/oauth2/rfc8628/errors.pyo
-${PYSITELIB}/authlib/oauth2/rfc8628/grant.py
-${PYSITELIB}/authlib/oauth2/rfc8628/grant.pyc
-${PYSITELIB}/authlib/oauth2/rfc8628/grant.pyo
 ${PYSITELIB}/authlib/oauth2/rfc8628/models.py
 ${PYSITELIB}/authlib/oauth2/rfc8628/models.pyc
 ${PYSITELIB}/authlib/oauth2/rfc8628/models.pyo
@@ -566,177 +530,3 @@
 ${PYSITELIB}/authlib/oidc/discovery/well_known.py
 ${PYSITELIB}/authlib/oidc/discovery/well_known.pyc
 ${PYSITELIB}/authlib/oidc/discovery/well_known.pyo
-${PYSITELIB}/authlib/specs/__init__.py
-${PYSITELIB}/authlib/specs/__init__.pyc
-${PYSITELIB}/authlib/specs/__init__.pyo
-${PYSITELIB}/authlib/specs/oidc/__init__.py
-${PYSITELIB}/authlib/specs/oidc/__init__.pyc
-${PYSITELIB}/authlib/specs/oidc/__init__.pyo
-${PYSITELIB}/authlib/specs/oidc/claims.py
-${PYSITELIB}/authlib/specs/oidc/claims.pyc
-${PYSITELIB}/authlib/specs/oidc/claims.pyo
-${PYSITELIB}/authlib/specs/oidc/errors.py
-${PYSITELIB}/authlib/specs/oidc/errors.pyc
-${PYSITELIB}/authlib/specs/oidc/errors.pyo
-${PYSITELIB}/authlib/specs/oidc/grants.py
-${PYSITELIB}/authlib/specs/oidc/grants.pyc
-${PYSITELIB}/authlib/specs/oidc/grants.pyo
-${PYSITELIB}/authlib/specs/oidc/models.py
-${PYSITELIB}/authlib/specs/oidc/models.pyc
-${PYSITELIB}/authlib/specs/oidc/models.pyo
-${PYSITELIB}/authlib/specs/oidc/util.py
-${PYSITELIB}/authlib/specs/oidc/util.pyc
-${PYSITELIB}/authlib/specs/oidc/util.pyo
-${PYSITELIB}/authlib/specs/rfc5849/__init__.py
-${PYSITELIB}/authlib/specs/rfc5849/__init__.pyc
-${PYSITELIB}/authlib/specs/rfc5849/__init__.pyo
-${PYSITELIB}/authlib/specs/rfc5849/errors.py
-${PYSITELIB}/authlib/specs/rfc5849/errors.pyc
-${PYSITELIB}/authlib/specs/rfc5849/errors.pyo
-${PYSITELIB}/authlib/specs/rfc5849/signature.py
-${PYSITELIB}/authlib/specs/rfc5849/signature.pyc
-${PYSITELIB}/authlib/specs/rfc5849/signature.pyo
-${PYSITELIB}/authlib/specs/rfc6749/__init__.py
-${PYSITELIB}/authlib/specs/rfc6749/__init__.pyc
-${PYSITELIB}/authlib/specs/rfc6749/__init__.pyo
-${PYSITELIB}/authlib/specs/rfc6749/authenticate_client.py
-${PYSITELIB}/authlib/specs/rfc6749/authenticate_client.pyc
-${PYSITELIB}/authlib/specs/rfc6749/authenticate_client.pyo
-${PYSITELIB}/authlib/specs/rfc6749/authorization_server.py
-${PYSITELIB}/authlib/specs/rfc6749/authorization_server.pyc
-${PYSITELIB}/authlib/specs/rfc6749/authorization_server.pyo
-${PYSITELIB}/authlib/specs/rfc6749/errors.py
-${PYSITELIB}/authlib/specs/rfc6749/errors.pyc
-${PYSITELIB}/authlib/specs/rfc6749/errors.pyo
-${PYSITELIB}/authlib/specs/rfc6749/grants.py
-${PYSITELIB}/authlib/specs/rfc6749/grants.pyc
-${PYSITELIB}/authlib/specs/rfc6749/grants.pyo
-${PYSITELIB}/authlib/specs/rfc6749/models.py
-${PYSITELIB}/authlib/specs/rfc6749/models.pyc
-${PYSITELIB}/authlib/specs/rfc6749/models.pyo
-${PYSITELIB}/authlib/specs/rfc6749/parameters.py
-${PYSITELIB}/authlib/specs/rfc6749/parameters.pyc
-${PYSITELIB}/authlib/specs/rfc6749/parameters.pyo
-${PYSITELIB}/authlib/specs/rfc6749/resource_protector.py
-${PYSITELIB}/authlib/specs/rfc6749/resource_protector.pyc
-${PYSITELIB}/authlib/specs/rfc6749/resource_protector.pyo
-${PYSITELIB}/authlib/specs/rfc6749/token_endpoint.py
-${PYSITELIB}/authlib/specs/rfc6749/token_endpoint.pyc
-${PYSITELIB}/authlib/specs/rfc6749/token_endpoint.pyo
-${PYSITELIB}/authlib/specs/rfc6749/wrappers.py
-${PYSITELIB}/authlib/specs/rfc6749/wrappers.pyc
-${PYSITELIB}/authlib/specs/rfc6749/wrappers.pyo
-${PYSITELIB}/authlib/specs/rfc6750/__init__.py
-${PYSITELIB}/authlib/specs/rfc6750/__init__.pyc
-${PYSITELIB}/authlib/specs/rfc6750/__init__.pyo
-${PYSITELIB}/authlib/specs/rfc6750/errors.py
-${PYSITELIB}/authlib/specs/rfc6750/errors.pyc
-${PYSITELIB}/authlib/specs/rfc6750/errors.pyo
-${PYSITELIB}/authlib/specs/rfc6750/parameters.py
-${PYSITELIB}/authlib/specs/rfc6750/parameters.pyc
-${PYSITELIB}/authlib/specs/rfc6750/parameters.pyo
-${PYSITELIB}/authlib/specs/rfc6750/validator.py
-${PYSITELIB}/authlib/specs/rfc6750/validator.pyc
-${PYSITELIB}/authlib/specs/rfc6750/validator.pyo



Home | Main Index | Thread Index | Old Index