[NEW PORT] security/py-securesystemslib: Cryptographic and general-purpose routines
securesystemslib supports public-key and general-purpose cryptography, such as ECDSA, Ed25519, RSA, SHA256, SHA512, etc. Most of the cryptographic operations are performed by the cryptography and PyNaCl libraries, but verification of Ed25519 signatures can be done in pure Python. WWW: https://github.com/secure-systems-lab/securesystemslib [1] https://github.com/secure-systems-lab/securesystemslib/issues/166 [2] https://github.com/secure-systems-lab/securesystemslib/issues/167
This commit is contained in:
parent
73b0938f19
commit
1b81a2a300
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501637
@ -988,6 +988,7 @@ PORTREVISION= 1
|
||||
SUBDIR += py-safe
|
||||
SUBDIR += py-scp
|
||||
SUBDIR += py-scrypt
|
||||
SUBDIR += py-securesystemslib
|
||||
SUBDIR += py-service_identity
|
||||
SUBDIR += py-signedjson
|
||||
SUBDIR += py-slowaes
|
||||
|
33
security/py-securesystemslib/Makefile
Normal file
33
security/py-securesystemslib/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= securesystemslib
|
||||
PORTVERSION= 0.11.3
|
||||
DISTVERSIONPREFIX=v
|
||||
CATEGORIES= security python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Cryptographic and general-purpose routines
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}cryptography>=2.2.2:security/py-cryptography@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes # tests/LICENSE not included in PyPI sdist
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
GH_ACCOUNT= secure-systems-lab
|
||||
GH_TAGNAME= 124bb05d
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs tests
|
||||
|
||||
.include <bsd.port.mk>
|
3
security/py-securesystemslib/distinfo
Normal file
3
security/py-securesystemslib/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1557820499
|
||||
SHA256 (secure-systems-lab-securesystemslib-v0.11.3-124bb05d_GH0.tar.gz) = 1d8d4aba9afcf27e93ebe99a29929f787edcbfd7087415cc4a177310ccdaa6cc
|
||||
SIZE (secure-systems-lab-securesystemslib-v0.11.3-124bb05d_GH0.tar.gz) = 889234
|
6
security/py-securesystemslib/pkg-descr
Normal file
6
security/py-securesystemslib/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
securesystemslib supports public-key and general-purpose cryptography, such
|
||||
as ECDSA, Ed25519, RSA, SHA256, SHA512, etc. Most of the cryptographic
|
||||
operations are performed by the cryptography and PyNaCl libraries, but
|
||||
verification of Ed25519 signatures can be done in pure Python.
|
||||
|
||||
WWW: https://github.com/secure-systems-lab/securesystemslib
|
Loading…
Reference in New Issue
Block a user