From fa6c186d0738f720c6c285eb5bcbcad745782f55 Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 5 Nov 2017 17:53:50 +0000 Subject: [PATCH] update to py-cryptography 2.1.3 --- security/py-cryptography/Makefile | 15 ++--- security/py-cryptography/distinfo | 4 +- .../patch-src__cffi_src_openssl_x509_vfy_py | 36 ------------ security/py-cryptography/pkg/PLIST | 39 +++++-------- security/py-cryptography_vectors/Makefile | 4 +- security/py-cryptography_vectors/distinfo | 4 +- security/py-cryptography_vectors/pkg/PLIST | 57 ++++++++++++++++++- 7 files changed, 83 insertions(+), 76 deletions(-) delete mode 100644 security/py-cryptography/patches/patch-src__cffi_src_openssl_x509_vfy_py diff --git a/security/py-cryptography/Makefile b/security/py-cryptography/Makefile index d4013257bc5..080ec739bf4 100644 --- a/security/py-cryptography/Makefile +++ b/security/py-cryptography/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.20 2017/01/04 21:58:42 sthen Exp $ +# $OpenBSD: Makefile,v 1.21 2017/11/05 17:53:50 sthen Exp $ COMMENT= cryptographic recipes and primitives for Python -MODPY_EGG_VERSION= 1.7.1 +MODPY_EGG_VERSION= 2.1.3 DISTNAME= cryptography-${MODPY_EGG_VERSION} PKGNAME= ${MODPY_PY_PREFIX}${DISTNAME} CATEGORIES= security devel @@ -23,10 +23,10 @@ MODPY_PI= Yes FLAVORS= python3 FLAVOR?= -RUN_DEPENDS= devel/py-asn1${MODPY_FLAVOR} \ - devel/py-cffi${MODPY_FLAVOR}>=1.4.2 \ +RUN_DEPENDS= devel/py-cffi${MODPY_FLAVOR}>=1.4.2 \ devel/py-six${MODPY_FLAVOR} \ - net/py-idna${MODPY_FLAVOR} + net/py-idna${MODPY_FLAVOR} \ + security/py-asn1crypto${MODPY_FLAVOR} .if ! ${FLAVOR:Mpython3} RUN_DEPENDS+= devel/py-enum34 \ @@ -35,11 +35,12 @@ RUN_DEPENDS+= devel/py-enum34 \ BUILD_DEPENDS= ${RUN_DEPENDS} -# XXX fetches hypothesis (not ported) at test time # XXX needs *loads* of RAM -TEST_DEPENDS= devel/py-asn1-modules${MODPY_FLAVOR} \ +TEST_DEPENDS= devel/py-coverage${MODPY_FLAVOR} \ + devel/py-hypothesis${MODPY_FLAVOR} \ devel/py-pretend${MODPY_FLAVOR} \ devel/py-test${MODPY_FLAVOR} \ + devel/py-tz${MODPY_FLAVOR} \ security/py-cryptography_vectors${MODPY_FLAVOR}=${MODPY_EGG_VERSION} \ textproc/py-iso8601${MODPY_FLAVOR} diff --git a/security/py-cryptography/distinfo b/security/py-cryptography/distinfo index dabcf36c570..81621880e43 100644 --- a/security/py-cryptography/distinfo +++ b/security/py-cryptography/distinfo @@ -1,2 +1,2 @@ -SHA256 (cryptography-1.7.1.tar.gz) = lT/vfUCkmnlfTZVcXOQzirzsXeqCLtBBTtMDSDA/20w= -SIZE (cryptography-1.7.1.tar.gz) = 420673 +SHA256 (cryptography-2.1.3.tar.gz) = aKJsNTYnFj107nadR0ny7iQ4ZunaxDyTuzPr2PvtEZk= +SIZE (cryptography-2.1.3.tar.gz) = 441502 diff --git a/security/py-cryptography/patches/patch-src__cffi_src_openssl_x509_vfy_py b/security/py-cryptography/patches/patch-src__cffi_src_openssl_x509_vfy_py deleted file mode 100644 index 0a26cf14ff1..00000000000 --- a/security/py-cryptography/patches/patch-src__cffi_src_openssl_x509_vfy_py +++ /dev/null @@ -1,36 +0,0 @@ -$OpenBSD: patch-src__cffi_src_openssl_x509_vfy_py,v 1.3 2017/01/04 21:58:42 sthen Exp $ - -Newer libressl has part but not all of the X509_VERIFY_PARAM_* API from -OpenSSL 1.0.2beta2+; hack to allow py-cryptography to build/run with this. - ---- src/_cffi_src/openssl/x509_vfy.py.orig Tue Dec 13 22:53:09 2016 -+++ src/_cffi_src/openssl/x509_vfy.py Wed Jan 4 21:43:46 2017 -@@ -194,10 +194,12 @@ void X509_STORE_CTX_set0_crls(X509_STORE_CTX *, - int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *, const char *, - size_t); - void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *, unsigned int); --int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *, const char *, -- size_t); --int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *, const unsigned char *, -- size_t); -+/* Fails with recent LibreSSL; ffi doesn't support ifdefs here */ -+// int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *, const char *, -+// size_t); -+// int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *, const unsigned char *, -+// size_t); -+/****/ - int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *, const char *); - - int sk_X509_OBJECT_num(Cryptography_STACK_OF_X509_OBJECT *); -@@ -221,9 +223,11 @@ static const long X509_V_ERR_SUITE_B_INVALID_CURVE = 0 - static const long X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = 0; - static const long X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = 0; - static const long X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 = 0; -+#if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2050100fL - static const long X509_V_ERR_HOSTNAME_MISMATCH = 0; - static const long X509_V_ERR_EMAIL_MISMATCH = 0; - static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0; -+#endif - #endif - - /* OpenSSL 1.0.2beta2+ verification parameters */ diff --git a/security/py-cryptography/pkg/PLIST b/security/py-cryptography/pkg/PLIST index adc25d9bada..46738959448 100644 --- a/security/py-cryptography/pkg/PLIST +++ b/security/py-cryptography/pkg/PLIST @@ -1,10 +1,9 @@ -@comment $OpenBSD: PLIST,v 1.10 2017/01/04 21:58:42 sthen Exp $ +@comment $OpenBSD: PLIST,v 1.11 2017/11/05 17:53:50 sthen Exp $ lib/python${MODPY_VERSION}/site-packages/cryptography/ lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt -lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt lib/python${MODPY_VERSION}/site-packages/cryptography-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt @@ -27,25 +26,12 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/__init__.p ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/${MODPY_PYCACHE}interfaces.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/${MODPY_PYCACHE}multibackend.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}backend.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}ciphers.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}hashes.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/${MODPY_PYCACHE}hmac.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/backend.py -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/ciphers.py -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/hashes.py -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/commoncrypto/hmac.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/interfaces.py -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/multibackend.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}aead.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}backend.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}ciphers.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}cmac.${MODPY_PYC_MAGIC_TAG}pyc @@ -58,7 +44,9 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}hmac.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}rsa.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}x25519.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/${MODPY_PYCACHE}x509.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/aead.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/backend.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/ciphers.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/cmac.py @@ -71,6 +59,7 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/ha lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/hmac.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/rsa.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/utils.py +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/x25519.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/backends/openssl/x509.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/__init__.py @@ -79,12 +68,6 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/${MODPY_PY lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/_constant_time${MODPY_ABI3SO}.so lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/_openssl${MODPY_ABI3SO}.so lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/_padding${MODPY_ABI3SO}.so -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/${MODPY_PYCACHE}/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/${MODPY_PYCACHE}binding.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/commoncrypto/binding.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/openssl/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/openssl/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/bindings/openssl/${MODPY_PYCACHE}/ @@ -102,6 +85,7 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}hashes.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}hmac.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}keywrap.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}mac.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}padding.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/${MODPY_PYCACHE}serialization.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/ @@ -114,19 +98,23 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetr lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/${MODPY_PYCACHE}padding.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/${MODPY_PYCACHE}rsa.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/${MODPY_PYCACHE}utils.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/${MODPY_PYCACHE}x25519.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/dh.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/dsa.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/padding.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/rsa.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}aead.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}algorithms.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/${MODPY_PYCACHE}modes.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/aead.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/algorithms.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/base.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/ciphers/modes.py @@ -134,10 +122,6 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/cmac.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/constant_time.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/hashes.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/hmac.py -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/interfaces/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/interfaces/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/interfaces/${MODPY_PYCACHE}/ -lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/interfaces/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/${MODPY_PYCACHE}/ @@ -155,6 +139,7 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/pbkd lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/scrypt.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/kdf/x963kdf.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/keywrap.py +lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/mac.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/padding.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/serialization.py lib/python${MODPY_VERSION}/site-packages/cryptography/hazmat/primitives/twofactor/ @@ -173,11 +158,13 @@ lib/python${MODPY_VERSION}/site-packages/cryptography/x509/__init__.py ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}certificate_transparency.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}extensions.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}general_name.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}name.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/${MODPY_PYCACHE}oid.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/cryptography/x509/base.py +lib/python${MODPY_VERSION}/site-packages/cryptography/x509/certificate_transparency.py lib/python${MODPY_VERSION}/site-packages/cryptography/x509/extensions.py lib/python${MODPY_VERSION}/site-packages/cryptography/x509/general_name.py lib/python${MODPY_VERSION}/site-packages/cryptography/x509/name.py diff --git a/security/py-cryptography_vectors/Makefile b/security/py-cryptography_vectors/Makefile index 669476b12c1..4a953459afb 100644 --- a/security/py-cryptography_vectors/Makefile +++ b/security/py-cryptography_vectors/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.15 2017/01/04 21:58:42 sthen Exp $ +# $OpenBSD: Makefile,v 1.16 2017/11/05 17:53:50 sthen Exp $ COMMENT= test vectors for py-cryptography -MODPY_EGG_VERSION= 1.7.1 +MODPY_EGG_VERSION= 2.1.3 DISTNAME= cryptography_vectors-${MODPY_EGG_VERSION} PKGNAME= ${MODPY_PY_PREFIX}${DISTNAME} CATEGORIES= security diff --git a/security/py-cryptography_vectors/distinfo b/security/py-cryptography_vectors/distinfo index a5d64632b53..c772c011988 100644 --- a/security/py-cryptography_vectors/distinfo +++ b/security/py-cryptography_vectors/distinfo @@ -1,2 +1,2 @@ -SHA256 (cryptography_vectors-1.7.1.tar.gz) = R+kbcLv2hSy5akeMtxXKkjTl/wScGVYIjEXJ9zj5VfQ= -SIZE (cryptography_vectors-1.7.1.tar.gz) = 26652514 +SHA256 (cryptography_vectors-2.1.3.tar.gz) = LeSVf9/VZ9aeF51uns9UoIU4fJU+IKv5ejWlwxOqMFM= +SIZE (cryptography_vectors-2.1.3.tar.gz) = 27255719 diff --git a/security/py-cryptography_vectors/pkg/PLIST b/security/py-cryptography_vectors/pkg/PLIST index fb642c01e14..60dc8fd4581 100644 --- a/security/py-cryptography_vectors/pkg/PLIST +++ b/security/py-cryptography_vectors/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.7 2017/01/04 21:58:42 sthen Exp $ +@comment $OpenBSD: PLIST,v 1.8 2017/11/05 17:53:50 sthen Exp $ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO @@ -53,6 +53,21 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/KASV lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/KASValidityTest_FFCStatic_NOKC_ZZOnly_resp.fax lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/RFC5114.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/bad_exchange.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey_rfc5114_2.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey_rfc5114_2.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhkey_rfc5114_2.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhp.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhp.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhp_rfc5114_2.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhp_rfc5114_2.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhpub.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhpub.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhpub_rfc5114_2.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/dhpub_rfc5114_2.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/rfc3526.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DH/vec.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DSA/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/DSA/FIPS_186-2/ @@ -175,6 +190,7 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/oae lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha256.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha384.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/oaep-custom/oaep-sha512-sha512.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/oaep-label.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/oaep-int.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/RSA/pkcs-1v2-1d2-vec/oaep-vect.txt @@ -191,6 +207,8 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/Traditi lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/key2.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/testrsa-encrypted.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/Traditional_OpenSSL_Serialization/testrsa.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/X25519/ +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/X25519/rfc7748.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/public/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/public/PKCS1/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/asymmetric/public/PKCS1/dsa.pub.pem @@ -307,6 +325,26 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CBC/CB lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt128.rsp lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt192.rsp lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CBC/CBCVarTxt256.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/ +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT128.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT128.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT192.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT192.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT256.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/DVPT256.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/Readme.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VADT128.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VADT192.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VADT256.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VNT128.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VNT192.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VNT256.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VPT128.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VPT192.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VPT256.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VTT128.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VTT192.rsp +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CCM/VTT256.rsp lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CFB/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CFB/CFB128GFSbox128.rsp lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/AES/CFB/CFB128GFSbox192.rsp @@ -430,6 +468,11 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/Camellia/c lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/Camellia/camellia-cbc.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/Camellia/camellia-cfb.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/Camellia/camellia-ofb.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/ChaCha20/ +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/ChaCha20/rfc7539.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/ChaCha20Poly1305/ +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/ChaCha20Poly1305/boringssl.txt +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/ChaCha20Poly1305/openssl.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/IDEA/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/IDEA/idea-cbc.txt lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/ciphers/IDEA/idea-cfb.txt @@ -2078,6 +2121,8 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/PKITS_data/sm lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/PKITS_data/smime/SignedValidpre2000UTCnotBeforeDateTest3.eml lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/PKITS_data/smime/SignedinhibitAnyPolicyTest3.eml lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/alternate-rsa-sha1-oid.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/badssl-sct.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/bigoid.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/cryptography.io.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/aia_ca_issuers.pem @@ -2100,6 +2145,7 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/cp_use lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/cp_user_notice_with_explicit_text.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/cp_user_notice_with_notice_reference.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_all_reasons.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_delta_crl_indicator.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_dup_entry_ext.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_empty.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_ian_aia_aki.pem @@ -2109,9 +2155,11 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/crl_un lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/dsa_selfsigned_ca.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/ec_no_named_curve.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/extended_key_usage.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/freshestcrl.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/ian_uri.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/inhibit_any_policy_5.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/inhibit_any_policy_negative.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/invalid_signature.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/invalid_version.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/nc_excluded.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/nc_invalid_ip_netmask.pem @@ -2145,9 +2193,12 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/unsupp lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/unsupported_subject_name.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/unsupported_subject_public_key_info.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/utf8_common_name.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/custom/valid_signature.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/department-of-state-root.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/e-trust.ru.der lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/ecdsa_root.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/ocsp/ +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/ocsp/req-sha1.der lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/rapidssl_sha256_ca_g3.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/requests/ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/requests/basic_constraints.pem @@ -2169,6 +2220,10 @@ lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/requests/unsu lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/requests/unsupported_extension_critical.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/san_edipartyname.der lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/san_x400address.der +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/tls-feature-ocsp-staple.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/unique_identifier.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/utf8-dnsname.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/v1_cert.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/verisign_md2_root.pem lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/wildcard_san.pem +lib/python${MODPY_VERSION}/site-packages/cryptography_vectors/x509/wosign-bc-invalid.pem