mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
[NEW] security/py-signedjson: Sign JSON with Ed25519 signatures
python-signedjson allows more than one entity to sign an object, can sign with more than one key and replace ED25519 with a different algorithm. WWW: https://github.com/matrix-org/python-signedjson PR: 205914 Submitted by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
This commit is contained in:
parent
395f476cee
commit
3d051a94b5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405515
@ -866,6 +866,7 @@
|
||||
SUBDIR += py-requests-kerberos
|
||||
SUBDIR += py-rsa
|
||||
SUBDIR += py-service_identity
|
||||
SUBDIR += py-signedjson
|
||||
SUBDIR += py-slowaes
|
||||
SUBDIR += py-ssh
|
||||
SUBDIR += py-sslstrip
|
||||
|
33
security/py-signedjson/Makefile
Normal file
33
security/py-signedjson/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= signedjson
|
||||
PORTVERSION= 1.0.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= security devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= brendan+freebsd@bbqsrc.net
|
||||
COMMENT= Sign JSON with Ed25519 signatures
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \
|
||||
${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.0.1:${PORTSDIR}/devel/py-unpaddedbase64 \
|
||||
${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.0.0:${PORTSDIR}/devel/py-canonicaljson
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
GH_ACCOUNT= matrix-org
|
||||
GH_PROJECT= python-signedjson
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests)
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/py-signedjson/distinfo
Normal file
2
security/py-signedjson/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 9f50fbd678f3d0683e27c38533995c078d2bc2a2ee308f0b1161b5c7f8f68403
|
||||
SIZE (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 8563
|
4
security/py-signedjson/pkg-descr
Normal file
4
security/py-signedjson/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
python-signedjson allows more than one entity to sign an object, can sign with
|
||||
more than one key and replace ED25519 with a different algorithm.
|
||||
|
||||
WWW: https://github.com/matrix-org/python-signedjson
|
Loading…
Reference in New Issue
Block a user