summaryrefslogtreecommitdiff
path: root/app-crypt/badkeys
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-04 00:00:19 +0100
commit7f3fecbb5b871825fe9632f46659869cab6a3769 (patch)
treedd2be4fe7ee3475ca4ad093698f0f8fd1e0965dc /app-crypt/badkeys
parenta98588cfddf3d6e88a5f17d7f399b695163c7a85 (diff)
gentoo auto-resync : 04:05:2024 - 00:00:19
Diffstat (limited to 'app-crypt/badkeys')
-rw-r--r--app-crypt/badkeys/Manifest4
-rw-r--r--app-crypt/badkeys/badkeys-0.0.9.ebuild26
-rw-r--r--app-crypt/badkeys/metadata.xml1
3 files changed, 30 insertions, 1 deletions
diff --git a/app-crypt/badkeys/Manifest b/app-crypt/badkeys/Manifest
index fe5531314aa1..6a012076caae 100644
--- a/app-crypt/badkeys/Manifest
+++ b/app-crypt/badkeys/Manifest
@@ -1,3 +1,5 @@
DIST badkeys-0.0.8.tar.gz 372562 BLAKE2B ed09e24361730a4233bfe31482c7fcd860c4047c5043f046c9b99988dd0974d1ea603be498c1841bc52ea22887332cdac7d1e04a56edb662534f3638288a421a SHA512 5f225ca3966876993b1462257ff0823b463df3f0ffbc57f7dc4693479c53b11f28dd3526f0f565cb6be01f6b610315dad1ebbcbb7c5f64e82f18fe89077b7681
+DIST badkeys-0.0.9.tar.gz 374144 BLAKE2B 261818ce8bb1d82e6453348f05aca1b8100f9d206c5243cf5357e155436fabf4088d5708c83bfe3db4a83c0ee42c68ca750ef6295e68e114ca1d20126a6cceed SHA512 8acdf9224509711e566e042130bff54c6683c62e56fb03f5d5b491c7f7542e9af3b487315bc9899fc4fbdcb2aa2ca164e0eb2bf61ccc33587a308f8ac81eff31
EBUILD badkeys-0.0.8.ebuild 632 BLAKE2B c6b39cd2a20a374d337c624090793725efb6f46d291108a6139fe0bb675a21978d831fd82318c9ee1861dc4dd054e5594110601f047ce8d3c5cb5fb22209b305 SHA512 1033487ee8d17816a5c0224e1990e62ca56f0c043d6de535b33441a9f0a7cdc062442eb6c8d4dba0061c51e496b89a13165f507a36a6b5fc8d59959a9eab8baa
-MISC metadata.xml 424 BLAKE2B 4fd57619269dc1a624903c8b396c9244b6ad054a26b2eafecb5ce002c2797855cd2af1be01f52f70c959a6be8d2b02209d198ae1dfa3d0b97d1c354181c2968f SHA512 e90c9d78ac445ab45d8f4c78001d15faa51073a723a9fef4d7d74bb30e550a7d885ddb37cc25e3dbdbfc3842501d952ac00b0abc3fda3d8f53c6a7ff0e8b98f9
+EBUILD badkeys-0.0.9.ebuild 687 BLAKE2B 6ddb9cb6d3da1106a0b8057a35874b182bc160f795f09f264d3460e8dabc4a0f5957cf03a140f54237a367d0c171cfe6cfa2e0e00117479de64622505e72c66d SHA512 b18290ce35810407231438956027bf0295c175cd4f5ac2f232ddb37937c991652138517911b3a90eb0746f26c795146519178e629de83a068ba4b80e080bd449
+MISC metadata.xml 508 BLAKE2B cf3826ad646dff67f5d0094f91c2bb1d8598f65c31774894cb95b02680225d756541cfd921341dde90e91a176e4b5962608b08c202f9b312937bfd3a47aa3090 SHA512 0fa2d7cc7f7a49115fa10377f54461261d45fb1641f22a750f748eb5c41bbe261acdeaaaf39b6c3cca0072e07332e3222b15ae2ea9345664e81df629254fd855
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
diff --git a/app-crypt/badkeys/metadata.xml b/app-crypt/badkeys/metadata.xml
index b0b28e9a1ea6..f169ea2e9a43 100644
--- a/app-crypt/badkeys/metadata.xml
+++ b/app-crypt/badkeys/metadata.xml
@@ -8,5 +8,6 @@
</upstream>
<use>
<flag name="ssh">Enable ssh scan mode via <pkg>dev-python/paramiko</pkg>.</flag>
+<flag name="dkim">Enable dkim scan mode via <pkg>dev-python/dnspython</pkg>.</flag>
</use>
</pkgmetadata>