From nobody Wed Jan 11 20:54:41 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nsg0f2dHtz2r7kF; Wed, 11 Jan 2023 20:54:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nsg0f28Kpz3kZG; Wed, 11 Jan 2023 20:54:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673470482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XiT17Ib7f+hXgmftSXIkULPAw/XKCwRsQcsZRVqzCPU=; b=PV+qbSbho8uyfzv2Eb+wdoHHMINumCFReRyNQWb9R/ar1J9iFUPFGLfC+gLQN1hgCkRG87 TDnQIuONwiP9BAv/x1pimCxoxj03FqZkPY1JxA9Vf319KiaSMU8B6RjBJLRM6s3rkiHiMF ZTi7jeOu8leuL7U0/KRAJtpHMsGgaxz+Y66Rxb9P7hs33LkZjYPaHsnSEyBSJJ8oodNpvT UqOUe+7fJRl/fHY8ydXhDq3FYp7owfWWq3zuppZSU/kMq1ko/aCjiSegFBUztOrOD/Y86a czpTYG77j0wsG2u72ZnuEWQ4W41x2ttVOwV9EckoJgJJKjcEzJBnqj7JuzjT6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673470482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XiT17Ib7f+hXgmftSXIkULPAw/XKCwRsQcsZRVqzCPU=; b=VqimRxQ04lLm98UNjIhc8GGJFVGMOQ3QQv+F/kY34RuTtfQXYSrLbJgSPjAVLpN5doXG59 KVFYN0QR8erw89u9u4prR16JPqrdVGVJz5rgguZDYv5h4B2maDk2Uo8ISrh+8X81JSUKwL lHeejbMmybLdq2e3B/IAC7ZIIzbNnYo8wXvQBFa/raoH5wLhuldwR8Q6str4EC8ng8vsUS PrAlFEFJ0sV+OfQPE0qv3w+wxA+qdcNB53oTEIpeZ7wOi3aGJ7dK6wqMEh81J3fqsE7qZK Wp1LVRBTJTePOp91XRDpKgCvv++wI5dQqA/5Fo/FLYIv0q0psDPPn+HIsQ0oTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673470482; a=rsa-sha256; cv=none; b=VcnO+qHV00YrPJifdw3V37VN1RcLt3nyFAu+TJaVVMDi0iUwj5ku/Or20q820rceVtRV4N nerU7nRKklP//6+fVJ584XWK2HcF5uLSY4vzKssm7tqbPXO8IgL8TH8shAET9Gd4SHPGjI M7QxrtdClDdT2DT0RuyhYP+co5rxMiFYHaHVidQekEFdkuy0ubVthw/k161VXGjnLTklFI lte1uNiyaGI21NJgGn6Xs30iS62CN6JrYogzJ7Fy2TEVRWTK8iq2Ua63X5yWJ6HMPWdX5b vnbnnUNOHxX0jOqrDvSKiT7W9TEx6HNOojegFVFuoIZb7WvUMvu3tSNwzuobJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nsg0f16Npz12gK; Wed, 11 Jan 2023 20:54:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30BKsfwp076290; Wed, 11 Jan 2023 20:54:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30BKsfK8076289; Wed, 11 Jan 2023 20:54:41 GMT (envelope-from git) Date: Wed, 11 Jan 2023 20:54:41 GMT Message-Id: <202301112054.30BKsfK8076289@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Juraj Lutter Subject: git: 2d756eb15ad2 - main - security/py-badkeys: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: otis X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2d756eb15ad2088325428b23188de0fd1904b591 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by otis: URL: https://cgit.FreeBSD.org/ports/commit/?id=2d756eb15ad2088325428b23188de0fd1904b591 commit 2d756eb15ad2088325428b23188de0fd1904b591 Author: Juraj Lutter AuthorDate: 2023-01-11 20:52:22 +0000 Commit: Juraj Lutter CommitDate: 2023-01-11 20:52:22 +0000 security/py-badkeys: Add new port badkeys is a tool and a library to check cryptographic public keys for known vulnerabilities. --- security/Makefile | 1 + security/py-badkeys/Makefile | 22 ++++++++++++++++++++++ security/py-badkeys/distinfo | 3 +++ security/py-badkeys/pkg-descr | 8 ++++++++ 4 files changed, 34 insertions(+) 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 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.