From owner-svn-ports-all@freebsd.org Thu Dec 10 21:28:33 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A2F2D4B7201; Thu, 10 Dec 2020 21:28:33 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CsRqN5M0wz3HQ6; Thu, 10 Dec 2020 21:28:32 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5A5AA1F9A9; Thu, 10 Dec 2020 21:28:30 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BALSUFD039000; Thu, 10 Dec 2020 21:28:30 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BALSTNQ038995; Thu, 10 Dec 2020 21:28:29 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202012102128.0BALSTNQ038995@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Thu, 10 Dec 2020 21:28:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557469 - in head/security: . py-python-pkcs11 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/security: . py-python-pkcs11 X-SVN-Commit-Revision: 557469 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 21:28:34 -0000 Author: sunpoet Date: Thu Dec 10 21:28:29 2020 New Revision: 557469 URL: https://svnweb.freebsd.org/changeset/ports/557469 Log: Add py-python-pkcs11 0.7.0 A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) standard to support HSM and Smartcard devices in Python. The interface is designed to follow the logical structure of a HSM, with useful defaults for obscurely documented parameters. Many APIs will optionally accept iterables and act as generators, allowing you to stream large data blocks for symmetric encryption. python-pkcs11 also includes numerous utility functions to convert between PKCS #11 data structures and common interchange formats including PKCS #1 and X.509. python-pkcs11 is fully documented and has a full integration test suite for all features, with continuous integration against multiple HSM platforms including: - Thales nCipher - Opencryptoki TPM - OpenSC/Smartcard-HSM/Nitrokey HSM WWW: https://github.com/danni/python-pkcs11 Added: head/security/py-python-pkcs11/ head/security/py-python-pkcs11/Makefile (contents, props changed) head/security/py-python-pkcs11/distinfo (contents, props changed) head/security/py-python-pkcs11/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Thu Dec 10 21:28:22 2020 (r557468) +++ head/security/Makefile Thu Dec 10 21:28:29 2020 (r557469) @@ -965,6 +965,7 @@ SUBDIR += py-python-nss SUBDIR += py-python-openid SUBDIR += py-python-pam + SUBDIR += py-python-pkcs11 SUBDIR += py-python-registry SUBDIR += py-python3-openid SUBDIR += py-python3-saml Added: head/security/py-python-pkcs11/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/Makefile Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= python-pkcs11 +PORTVERSION= 0.7.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PKCS\#11 (Cryptoki) support for Python + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=0:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cached-property>=0:devel/py-cached-property@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent cython distutils + +.include + +.if ${PYTHON_REL} < 3600 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}aenum>=0:devel/py-aenum@${PY_FLAVOR} +.endif + +.include Added: head/security/py-python-pkcs11/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/distinfo Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,3 @@ +TIMESTAMP = 1607539627 +SHA256 (python-pkcs11-0.7.0.tar.gz) = 9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7 +SIZE (python-pkcs11-0.7.0.tar.gz) = 106517 Added: head/security/py-python-pkcs11/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-python-pkcs11/pkg-descr Thu Dec 10 21:28:29 2020 (r557469) @@ -0,0 +1,18 @@ +A high level, "more Pythonic" interface to the PKCS#11 (Cryptoki) standard to +support HSM and Smartcard devices in Python. + +The interface is designed to follow the logical structure of a HSM, with useful +defaults for obscurely documented parameters. Many APIs will optionally accept +iterables and act as generators, allowing you to stream large data blocks for +symmetric encryption. + +python-pkcs11 also includes numerous utility functions to convert between PKCS +#11 data structures and common interchange formats including PKCS #1 and X.509. + +python-pkcs11 is fully documented and has a full integration test suite for all +features, with continuous integration against multiple HSM platforms including: +- Thales nCipher +- Opencryptoki TPM +- OpenSC/Smartcard-HSM/Nitrokey HSM + +WWW: https://github.com/danni/python-pkcs11