From nobody Wed Aug 16 18:30:28 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQxX43g9Wz4qxXX; Wed, 16 Aug 2023 18:30:28 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RQxX43BFmz4PSP; Wed, 16 Aug 2023 18:30:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BWZwwm9MnZCo1V1xrGXRJqaIM0/BJL3PVbWYYc5g4jY=; b=f8JJ3dYDUrs/HSrZAJZs6UkA1AA8DT3XaOIbQvSl9xMCKd1BKSTJ20/ZuHd5DtV86WQyPP o6ri5gfJcy7X6sLvFo4YWVWpPHQfGGYXOQWW+U0DgoEAIEBfyY0kxOeQhWoM0UmMrLAX6p t4H4cRK9bNHcJQZAKJJsul8PP0kuqeBjv4ppBTjRtyXj0hWnim24Mq65eTw0/Q0GK8x4t0 MGR/UKmcCaOTGkIT8PKEG3VAJZOE7x6oHMnCrE00mj/hP2xisi1J49WvZsexAAX4wv32kq SsO70mJwmE1pKrL7BEeEyrNIo4bPXmT4kC0rLsx9tRI4bJ6dHiBWH8t2h0NllQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692210628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BWZwwm9MnZCo1V1xrGXRJqaIM0/BJL3PVbWYYc5g4jY=; b=n+FHzGAGY7dhmwwGNhbJCoCmU8PWRz8De1iK6dIrRL/TkRN1XEaISCVj8lH2phYIvLvN7Q KWtOJvNUyP7LLkwp/F3ECEcYJlna15ZvQnwYk7HPqcMwGdEcIEAlXh+hlZtNvfBn++LkGP U+GJ6OkHJRTLvvs5Vwpd3jjbMqC8/QqgVUlUakr5OYd5LuDNZ5fOTnk9+A5VvkaU4LwrNk gEx268hrN0Ilss0s0/+vd9R+OPamFgsVQUHjcHlNTvyUxTGt22pF54VJjVjfRUY6+7Xeeu /PebuaXJyJ9Yv0bi/IUaXr4yE1rj/ycB78mufsOKZbUmSEl4WCP0Bmhb+bg5mA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692210628; a=rsa-sha256; cv=none; b=XlWBS7IvEdM6u2KO53SLPY1YfdZ6EWC5dtIi7/cvVGnFa+v7VNLRJ0QWDXo3IjyxGqZ7UW 7hT9ug6rpCcz1NUNowMrcauH5+NMUN9IDS/5RDkK8Gb9XeIS4jZc233xvNEBAlMdKpTpOf VsnfqtLaX22OAU2lZ0ywV10ovulh6g2Xs6QQ34cxWh5JNtWjLaqG807gfysrmVv3UclG1n XfQxVIfngLMaiziZ2qGCNqGxPpy/aJ6N6HlhYxxOgTy6cdfSR48mONPkGOjOtbzG3WgI2Q /m5CnLlKxeKwm0ncFoGHSftSaNg5rXLlRk1Lk+y7LRdrMvTf0wijUxd0eOq60g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RQxX42750z129V; Wed, 16 Aug 2023 18:30:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37GIUS4N023394; Wed, 16 Aug 2023 18:30:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37GIUSxl023391; Wed, 16 Aug 2023 18:30:28 GMT (envelope-from git) Date: Wed, 16 Aug 2023 18:30:28 GMT Message-Id: <202308161830.37GIUSxl023391@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 96195f8763c8 - main - security/py-service-identity: Add py-service-identity 23.1.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 96195f8763c81d6be29f0f00551c10d5904f545a Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=96195f8763c81d6be29f0f00551c10d5904f545a commit 96195f8763c81d6be29f0f00551c10d5904f545a Author: Po-Chuan Hsieh AuthorDate: 2023-08-16 18:06:47 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-16 18:25:07 +0000 security/py-service-identity: Add py-service-identity 23.1.0 Use this package if: - you want to verify that a PyCA cryptography certificate is valid for a certain hostname or IP address, - or if you use pyOpenSSL and don’t want to be MITMed, - or if you want to inspect certificates from either for service IDs. service-identity aspires to give you all the tools you need for verifying whether a certificate is valid for the intended purposes. In the simplest case, this means host name verification. However, service-identity implements RFC 6125 fully. --- security/Makefile | 1 + security/py-service-identity/Makefile | 28 ++++++++++++++++++++++++++++ security/py-service-identity/distinfo | 3 +++ security/py-service-identity/pkg-descr | 10 ++++++++++ 4 files changed, 42 insertions(+) diff --git a/security/Makefile b/security/Makefile index 615e9405bebe..c7cd82f798cf 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1018,6 +1018,7 @@ SUBDIR += py-scrypt SUBDIR += py-secure SUBDIR += py-securesystemslib + SUBDIR += py-service-identity SUBDIR += py-service_identity SUBDIR += py-signedjson SUBDIR += py-social-auth-core diff --git a/security/py-service-identity/Makefile b/security/py-service-identity/Makefile new file mode 100644 index 000000000000..74ddd9ffebd1 --- /dev/null +++ b/security/py-service-identity/Makefile @@ -0,0 +1,28 @@ +PORTNAME= service-identity +PORTVERSION= 23.1.0 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= service_identity-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Service identity verification for pyOpenSSL & cryptography +WWW= https://service-identity.readthedocs.io/en/stable/ \ + https://github.com/pyca/service-identity + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.1.0:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} + +USES= pycryptography:run python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include diff --git a/security/py-service-identity/distinfo b/security/py-service-identity/distinfo new file mode 100644 index 000000000000..d415411c9d5c --- /dev/null +++ b/security/py-service-identity/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069904 +SHA256 (service_identity-23.1.0.tar.gz) = ecb33cd96307755041e978ab14f8b14e13b40f1fbd525a4dc78f46d2b986431d +SIZE (service_identity-23.1.0.tar.gz) = 39840 diff --git a/security/py-service-identity/pkg-descr b/security/py-service-identity/pkg-descr new file mode 100644 index 000000000000..9a87cb48f5d8 --- /dev/null +++ b/security/py-service-identity/pkg-descr @@ -0,0 +1,10 @@ +Use this package if: +- you want to verify that a PyCA cryptography certificate is valid for a certain + hostname or IP address, +- or if you use pyOpenSSL and don’t want to be MITMed, +- or if you want to inspect certificates from either for service IDs. + +service-identity aspires to give you all the tools you need for verifying +whether a certificate is valid for the intended purposes. In the simplest case, +this means host name verification. However, service-identity implements RFC 6125 +fully.