aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuraj Lutter <otis@FreeBSD.org>2023-01-11 20:52:22 +0000
committerJuraj Lutter <otis@FreeBSD.org>2023-01-11 20:52:22 +0000
commit2d756eb15ad2088325428b23188de0fd1904b591 (patch)
treeac77f7f2e5a46bf555667e2e820cce79f2c0fdff
parent9910461e799b8968fe72055183c76c9e7a053de8 (diff)
downloadports-2d756eb15ad2088325428b23188de0fd1904b591.tar.gz
ports-2d756eb15ad2088325428b23188de0fd1904b591.zip
security/py-badkeys: Add new port
badkeys is a tool and a library to check cryptographic public keys for known vulnerabilities.
-rw-r--r--security/Makefile1
-rw-r--r--security/py-badkeys/Makefile22
-rw-r--r--security/py-badkeys/distinfo3
-rw-r--r--security/py-badkeys/pkg-descr8
4 files changed, 34 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 821d924775a0..4b9bfef1c6db 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -841,6 +841,7 @@
SUBDIR += py-azure-keyvault-certificates
SUBDIR += py-azure-keyvault-keys
SUBDIR += py-azure-keyvault-secrets
+ SUBDIR += py-badkeys
SUBDIR += py-base58
SUBDIR += py-bcrypt
SUBDIR += py-bitbox02
diff --git a/security/py-badkeys/Makefile b/security/py-badkeys/Makefile
new file mode 100644
index 000000000000..80ae322f81fa
--- /dev/null
+++ b/security/py-badkeys/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= badkeys
+DISTVERSION= 0.0.5
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= otis@FreeBSD.org
+COMMENT= Tool to check public keys for known vulnerabilities
+WWW= https://github.com/badkeys/badkeys
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}gmpy2>0:math/py-gmpy2@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-badkeys/distinfo b/security/py-badkeys/distinfo
new file mode 100644
index 000000000000..679123a5a6b9
--- /dev/null
+++ b/security/py-badkeys/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673469302
+SHA256 (badkeys-0.0.5.tar.gz) = b4f0e8bc0fca685746a1ef3a2329f976fabd780635896c7f7c296e3c52c86b56
+SIZE (badkeys-0.0.5.tar.gz) = 370857
diff --git a/security/py-badkeys/pkg-descr b/security/py-badkeys/pkg-descr
new file mode 100644
index 000000000000..ffac74377879
--- /dev/null
+++ b/security/py-badkeys/pkg-descr
@@ -0,0 +1,8 @@
+Tool and library to check cryptographic public keys for known vulnerabilities.
+
+badkeys can directly scan SSH and TLS hosts and automatically check their
+public keys.
+
+This work was funded in part by Industriens Fond through the CIDI project
+(Cybersecure IOT in Danish Industry) and in part by the Center for Information
+Security and Trust (CISAT) at the IT University of Copenhagen, Denmark.