Don't remove comment from public SSH keys but clean email like domains from the comment
What does this MR do?
Changes publishable_key
to return the full SSH key but with email domains replaced with (Gitlab.com)
, the current behaviour is to fully remove the SSH Key comment.
Example:
ssh-rsa AAAA...Mn/ me@me.com foo@me.com bar@bar bar@foo教程网.com blah
ssh-rsa AAAA...Mn/ me (Gitlab.com) foo (Gitlab.com) bar@bar bar (Gitlab.com) blah
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Idea is to help identify SSH keys.
What are the relevant issue numbers?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
- [x]CHANGELOG entry added
- [- ] Documentation created/updated
- [ -] API support added
- Tests
- [ x] Added for this feature/bug
- [ x] All builds are passing
- [ x] Conform by the style guides
- [ x] Branch has no merge conflicts with
master
(if you do - rebase it please) - [ x] Squashed related commits together Closes #18866 (closed)