Support for Launchpad teams should be added

Bug #1745538 reported by Simon Quigley
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ssh-import-id
In Progress
Wishlist
Simon Quigley
ssh-import-id (Ubuntu)
Fix Released
Wishlist
Simon Quigley

Bug Description

While the ability to add the SSH key for an LP user is nice, it would be much nicer if support could be added for a whole team, so something like the following could be executed:

 $ ssh-import-id lp:ubuntu-security

And it would just know to Do The Right Thing.

Related branches

Scott Moser (smoser)
Changed in ssh-import-id:
status: New → Triaged
importance: Undecided → Wishlist
Simon Quigley (tsimonq2)
Changed in ssh-import-id:
assignee: nobody → Simon Quigley (tsimonq2)
status: Triaged → In Progress
Revision history for this message
Ivan Anishchuk (anishchuk-ia) wrote :

GitHub equivalent for organizations and teams would be appreciated as well

Revision history for this message
Alex Duzsardi (aduzsardi) wrote :

i think i might have clicked the wrong link

merge proposal unlinked https://code.launchpad.net/~tsimonq2/ssh-import-id/+git/add-team-support/+merge/348434

sorry about that

Simon Quigley (tsimonq2)
summary: - Support for teams should be added
+ Support for Launchpad teams should be added
Revision history for this message
Simon Quigley (tsimonq2) wrote :

After re-reviewing the MP comments from 2018, I redid my approach to this, tested it thoroughly locally, and uploaded this to the archive. I am re-targeting this bug for Launchpad specifically, and have created bug 2055323 to track the GitHub side of this, which I expect to land in the OO cycle.

As an example, `ssh-import-id lubuntu-dev` takes about 50 seconds, but correctly and recursively imports all team members. I can also add my own SSH key with `ssh-import-id tsimonq2`. Putting a garbage username as an argument correctly fails. Additionally, `ssh-import-id -r lubuntu-dev` and `ssh-import-id tsimonq2` both work as intended.

I'm very happy to finally move this forward. Thanks for your patience, everyone!

Changed in ssh-import-id:
status: In Progress → Fix Committed
Simon Quigley (tsimonq2)
Changed in ssh-import-id (Ubuntu):
status: New → Fix Committed
Changed in ssh-import-id:
status: Fix Committed → In Progress
Changed in ssh-import-id (Ubuntu):
importance: Undecided → Wishlist
assignee: nobody → Simon Quigley (tsimonq2)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ssh-import-id - 5.11-0ubuntu2

---------------
ssh-import-id (5.11-0ubuntu2) noble; urgency=medium

  * Add support for Launchpad teams (LP: #1745538).

 -- Simon Quigley <email address hidden> Wed, 28 Feb 2024 10:19:22 -0600

Changed in ssh-import-id (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.