From nobody Mon Feb 20 23:37:40 2023 X-Original-To: dev-commits-ports-all@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 4PLJkF2Gggz3sd62; Mon, 20 Feb 2023 23:37:41 +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 4PLJkF1V5tz40qD; Mon, 20 Feb 2023 23:37:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676936261; 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=B2Sa3GbkkhWzqD7/EN6zIu5Y4gA831WLWzc2xgdyt50=; b=Dafm35wuQg2GHfmakesb7edG882z9zQh6r41URe7CSglLtl1EkOFtq62xa4Gv/ChYAaQ8S DpiogDGJOvNTcmxxT3CRL4fwVfKckAO3P6j0kzNCAM1fXQU0gF52ha38FwybHyFIFyciWX HqUITotdrUswxVibDAAyLHtFslA4J7K2ZES7sWs3//3mU5lb+q3fGpbrHwb6HICDP6Fqqv JYtXfY8wdYrGRcUl2igKZSvqule8VBU03kyNGzAlkz7MhsMx2ohElX7bJ/9U/8pqDZ0Vvc rD6umRyr/wTixJqnShRaai2Do+aR16t6dRC3Vcmy2Wg6+LYJ3S9Fy6KsNPQwCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676936261; 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=B2Sa3GbkkhWzqD7/EN6zIu5Y4gA831WLWzc2xgdyt50=; b=bR6SFO8JgpJ9+7ZiVqKoqDuC8N4ZxUykie2uWYXYWT843kMguU/CI0OahpmazKWZa0+IV+ IsNZAAB8eAbor8AiuuB2zj8zTtQ7/KbadU7tJbk+v07WxHF7rhT+xHF8RPqJt5K3Kv1hEx YSRXaDrGD8Q/xPLueRDgc7oP9ozPEQU7kJWLWbSf892NhX4YOO7NvNCI4jWWbT+msZgJKS w2z93HcHoW66AdyTu/5GWPYLFkB1yd+oCXspFpkMd7c0RgdWpGX+9i+E5wz/Mfbnzri4ZX ZFmUqnbb8D/7y3zUDGSpXF3TZ6zHzWLJk66ImDMI2oxY17OubukaG2fcPLytOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676936261; a=rsa-sha256; cv=none; b=UUzFM3UMkAzpPmnJvo1tY295lhn9+ISkxIQbNnh4bP/2kPvafQkLwPHfil29g4mcO267e1 SobPa7JTK5+Z8PM3u1dUInWPfhJSoMHl44ebUMfO2E29vlvSjWs4pquP7dPeRY6tMzJOrC sSB0wTGa8Rk/ryXR+cm3XOXfYOaxl4TXIhygimklHeS2RzTNRwZj/xMzWsQUJ0U82F/HxZ xj4aRNF0+JotyGQVI4CJWRpDuCMFtvEd38F2QljBQ5hRbXnW8XsXwcTDns9stU+PoCgjXM aNfTqrV1KdMogM7QREeSXkWHT0ELYqf5D4KOimtcVsDRSH+YuOcA8wnKgLpnJw== 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 4PLJkF0WkLz10M8; Mon, 20 Feb 2023 23:37:41 +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 31KNbeZC081756; Mon, 20 Feb 2023 23:37:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31KNbeUa081755; Mon, 20 Feb 2023 23:37:40 GMT (envelope-from git) Date: Mon, 20 Feb 2023 23:37:40 GMT Message-Id: <202302202337.31KNbeUa081755@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: d24b8053f790 - main - security/ssh-import-id: new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d24b8053f7906b948f5bf28aa9816ccbfde1b469 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=d24b8053f7906b948f5bf28aa9816ccbfde1b469 commit d24b8053f7906b948f5bf28aa9816ccbfde1b469 Author: Seyed Pouria Mousavizadeh Tehrani AuthorDate: 2023-02-16 21:06:31 +0000 Commit: Robert Clausecker CommitDate: 2023-02-20 23:36:35 +0000 security/ssh-import-id: new port You're logged onto a cloud instance working on a problem with your fellow devs, and you want to invite them to log in and take a look at these crazy log messages. What to do? Oh. You have to ask them to cat their public SSH key, paste it into IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it and cat it to the end of authorized_hosts. That's where ssh-import-id comes in. With ssh-import-id, you can add the public SSH keys from a known, trusted online identity to grant SSH access. Currently supported identities include Github and Launchpad. WWW: https://git.launchpad.net/ssh-import-id Submitter is first time maintainer. PR: 265835 Approved by: flo (mentor) Differential Revision: https://reviews.freebsd.org/D38681 --- security/Makefile | 1 + security/ssh-import-id/Makefile | 20 ++++++++++++++++++++ security/ssh-import-id/distinfo | 3 +++ security/ssh-import-id/pkg-descr | 13 +++++++++++++ 4 files changed, 37 insertions(+) diff --git a/security/Makefile b/security/Makefile index 69b5f64d9011..b7d327237686 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1230,6 +1230,7 @@ SUBDIR += srm SUBDIR += ssb SUBDIR += ssdeep + SUBDIR += ssh-import-id SUBDIR += ssh-multiadd SUBDIR += ssh-tools SUBDIR += ssh-vault diff --git a/security/ssh-import-id/Makefile b/security/ssh-import-id/Makefile new file mode 100644 index 000000000000..b64ac45822ef --- /dev/null +++ b/security/ssh-import-id/Makefile @@ -0,0 +1,20 @@ +PORTNAME= ssh-import-id +DISTVERSION= 5.11 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= p.mousavizadeh@protonmail.com +COMMENT= Authorize SSH public keys from trusted online identities +WWW= https://git.launchpad.net/ssh-import-id + +LICENSE= GPLv3 +# LICENSE_FILE=Not shipped in PyPI sdist +# https://bugs.launchpad.net/ssh-import-id/+bug/1992842 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} + +USES= python +USE_PYTHON= concurrent autoplist distutils + +.include diff --git a/security/ssh-import-id/distinfo b/security/ssh-import-id/distinfo new file mode 100644 index 000000000000..865682c799ec --- /dev/null +++ b/security/ssh-import-id/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660480546 +SHA256 (ssh-import-id-5.11.tar.gz) = 2a976fefcbd97afa16c32a4c24f0ae5bb979e684c4ad0e23a8afb697dfa994c0 +SIZE (ssh-import-id-5.11.tar.gz) = 7051 diff --git a/security/ssh-import-id/pkg-descr b/security/ssh-import-id/pkg-descr new file mode 100644 index 000000000000..eeaf933883b3 --- /dev/null +++ b/security/ssh-import-id/pkg-descr @@ -0,0 +1,13 @@ +You're logged onto a cloud instance working on a problem with your +fellow devs, and you want to invite them to log in and take a look +at these crazy log messages. What to do? + +Oh. You have to ask them to cat their public SSH key, paste it into +IRC (wait, no, it's id_rsa.pub, not id_rsa silly!) then you copy it +and cat it to the end of authorized_hosts. + +That's where ssh-import-id comes in. With ssh-import-id, you can add +the public SSH keys from a known, trusted online identity to grant +SSH access. + +Currently supported identities include Github and Launchpad.