diff --git a/security/Makefile b/security/Makefile --- 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 --- /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 --- /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 --- /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.