summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/py-liboqs-python/Makefile25
-rw-r--r--security/py-liboqs-python/distinfo3
-rw-r--r--security/py-liboqs-python/pkg-descr12
4 files changed, 41 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 3cacd181325c..00312d12001c 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -946,6 +946,7 @@
SUBDIR += py-keyrings.alt
SUBDIR += py-krb5
SUBDIR += py-libnacl
+ SUBDIR += py-liboqs-python
SUBDIR += py-m2crypto
SUBDIR += py-maec
SUBDIR += py-merkletools
diff --git a/security/py-liboqs-python/Makefile b/security/py-liboqs-python/Makefile
new file mode 100644
index 000000000000..b7f1e9f2922b
--- /dev/null
+++ b/security/py-liboqs-python/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= liboqs-python
+DISTVERSION= 0.9.0
+CATEGORIES= security
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Library for quantum-resistant cryptography
+WWW= https://openquantumsafe.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+LIB_DEPENDS= liboqs.so:security/liboqs
+
+USES= python
+USE_PYTHON= pep517 autoplist nose2
+
+USE_GITHUB= yes
+GH_ACCOUNT= open-quantum-safe
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-liboqs-python/distinfo b/security/py-liboqs-python/distinfo
new file mode 100644
index 000000000000..847167dcd6f1
--- /dev/null
+++ b/security/py-liboqs-python/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1698711635
+SHA256 (open-quantum-safe-liboqs-python-0.9.0_GH0.tar.gz) = 0ea47bc0b25bd6ab8a070a2beab10bec4b4e5b49af8da16d46146b8e54c162f2
+SIZE (open-quantum-safe-liboqs-python-0.9.0_GH0.tar.gz) = 14070
diff --git a/security/py-liboqs-python/pkg-descr b/security/py-liboqs-python/pkg-descr
new file mode 100644
index 000000000000..62b380e653fe
--- /dev/null
+++ b/security/py-liboqs-python/pkg-descr
@@ -0,0 +1,12 @@
+liboqs provides:
+* a collection of open source implementations of quantum-safe key encapsulation
+ mechanism (KEM) and digital signature algorithms; the full list can be found
+ below
+* a common API for these algorithms
+* a test harness and benchmarking routines
+
+liboqs is part of the Open Quantum Safe (OQS) project led by Douglas Stebila and
+Michele Mosca, which aims to develop and integrate into applications
+quantum-safe cryptography to facilitate deployment and testing in real world
+contexts. In particular, OQS provides prototype integrations of liboqs into TLS
+and SSH, through OpenSSL and OpenSSH.