summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/badkeys/badkeys-0.0.9.ebuild')
-rw-r--r--app-crypt/badkeys/badkeys-0.0.9.ebuild26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-crypt/badkeys/badkeys-0.0.9.ebuild b/app-crypt/badkeys/badkeys-0.0.9.ebuild
new file mode 100644
index 000000000000..9af1570815ed
--- /dev/null
+++ b/app-crypt/badkeys/badkeys-0.0.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..12} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Check cryptographic keys for known weaknesses"
+HOMEPAGE="https://badkeys.info/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dkim ssh"
+
+DEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/gmpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dkim? ( dev-python/dnspython[${PYTHON_USEDEP}] )
+ ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
+# TODO: add optional binary-file-search dependency once
+# it is packaged.
+DOCS=( README.md )
+
+distutils_enable_tests unittest