Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git: fix typo in rm_key #492

Closed
wants to merge 2 commits into from
Closed

git: fix typo in rm_key #492

wants to merge 2 commits into from

Conversation

sarahhodne
Copy link
Contributor

The key that we install is named ~/.ssh/id_rsa, not ~/.ssh/source_rsa.

The key that we install is named ~/.ssh/id_rsa, not ~/.ssh/source_rsa.
The implementation was updated, so we need to fix the spec as well.
@joshk
Copy link
Contributor

joshk commented Jul 27, 2015

Please do not merge this as it is a change in behavior which some customers may be relying on.

@sarahhodne
Copy link
Contributor Author

If so we should probably just remove the step entirely?

Also, the key is still in the SSH agent, so it's still usable.

@joshk
Copy link
Contributor

joshk commented Jul 27, 2015

Hmmmmmmmmm, ok, that is a good point that it is in the SSH agent.

@meatballhat @rkh @svenfuchs thoughts and opinions?

@meatballhat
Copy link
Contributor

I think we can safely remove this step. Those users who really need the identity to be gone have to interact with ssh-add anyway.

@joshk
Copy link
Contributor

joshk commented Jul 27, 2015

@meatballhat do you mean remove the code?

@meatballhat
Copy link
Contributor

@joshk sorry for ambiguity. Yes, remove the code 😺

@joshk
Copy link
Contributor

joshk commented Jul 28, 2015

Sounds good to me.

@deckar01
Copy link

For historical context, "source_rsa" is not a typo, it was the original location that wrote the configured private key for git. At one point the code to copy the source key was removed then later reimplemented using "id_rsa" without updating the key cleanup code.

@joshk
Copy link
Contributor

joshk commented Nov 16, 2016

@henrikhodne can this PR be closed and a new one opened to remove the code which removes the ssh key?

@meatballhat
Copy link
Contributor

No longer valid!

@meatballhat meatballhat deleted the hh-fix-rm-key branch September 12, 2018 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants