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
Conversation
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.
Please do not merge this as it is a change in behavior which some customers may be relying on. |
If so we should probably just remove the step entirely? Also, the key is still in the SSH agent, so it's still usable. |
Hmmmmmmmmm, ok, that is a good point that it is in the SSH agent. @meatballhat @rkh @svenfuchs thoughts and opinions? |
I think we can safely remove this step. Those users who really need the identity to be gone have to interact with |
@meatballhat do you mean remove the code? |
@joshk sorry for ambiguity. Yes, remove the code 😺 |
Sounds good to me. |
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. |
@henrikhodne can this PR be closed and a new one opened to remove the code which removes the ssh key? |
No longer valid! |
The key that we install is named ~/.ssh/id_rsa, not ~/.ssh/source_rsa.