diff --git a/app-crypt/badkeys/badkeys-0.0.12-r1.ebuild b/app-crypt/badkeys/badkeys-0.0.12-r1.ebuild new file mode 100644 index 0000000000000..aa253f0c359eb --- /dev/null +++ b/app-crypt/badkeys/badkeys-0.0.12-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) +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/gmpy2[${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