Skip to content

[#1755] SSH key management (gh ssh-key list)#1862

Merged
mislav merged 2 commits intocli:trunkfrom
edualb:trunk
Jan 20, 2021
Merged

[#1755] SSH key management (gh ssh-key list)#1862
mislav merged 2 commits intocli:trunkfrom
edualb:trunk

Conversation

@edualb
Copy link
Contributor

@edualb edualb commented Sep 20, 2020

Command gh ssh-key list implemented.

This feature request can be accessed by #1755 tag.

✅ Command gh ssh-key list - That shows all of the currently SSH-KEY and names.
✅ Test coverage 98%+

Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you for the thorough implementation! The code looks solid at cursory glance.

However, I won't be fully reviewing this PR nor approving it at the moment because, per our CONTRIBUTING policy, we currently don't accept PRs for features that our team hasn't discussed and explicitly approved. Right now, we haven't reached a decision about ssh-key management being included in gh.

In the meantime, you may use your fork or gh api to manage ssh-keys. 🙇

@edualb
Copy link
Contributor Author

edualb commented Sep 21, 2020

@mislav Alright, no problem. I have learned a lot implementing this feature, thank you for your recognition 😄

So, this PR will be closed? Or, can we wait for the team decision?

@mislav
Copy link
Contributor

mislav commented Sep 21, 2020

We haven't done feature prioritization yet for a post-1.0 release, so let's keep this open until we do, if you don't mind (a couple of weeks tops).

@vilmibm vilmibm removed the community label Sep 29, 2020
@cli cli deleted a comment from clbreezy84 Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@cli cli deleted a comment Nov 4, 2020
@ikeedge
Copy link

ikeedge commented Nov 29, 2020

🤪

edualb and others added 2 commits January 20, 2021 20:23
Do not require nor request `read:public_key` scope by default.
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I have pushed a change to vastly simplify the implementation and change the output format to a table-based one for consistency with other commands.

Additionally, we won't request read:public_key scope by default. The user can choose to add that scope if they wish to use the ssh-key list command.

@mislav mislav merged commit dcf5a27 into cli:trunk Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants