Skip to content

Commit

Permalink
security/py-service-identity: Add py-service-identity 23.1.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sunpoet committed Aug 16, 2023
1 parent 964dc98 commit 96195f8
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions security/Makefile
Expand Up @@ -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
Expand Down
28 changes: 28 additions & 0 deletions 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 <bsd.port.mk>
3 changes: 3 additions & 0 deletions 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
10 changes: 10 additions & 0 deletions 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.

0 comments on commit 96195f8

Please sign in to comment.