Parse and handle SSH public keys in different formats#780
Conversation
OddBloke
left a comment
There was a problem hiding this comment.
Hey Thomas, a couple of high-level observations here; I haven't had a chance to dig in in more detail yet.
|
Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close. If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging mitechie, and he will ensure that someone takes a look soon. (If the pull request is closed, please do feel free to reopen it if you wish to continue working on it.) |
|
Yep, and let me remove that tag too to stop it happening again. |
|
Hello! Thank you for this proposed change to cloud-init. This pull request is now marked as stale as it has not seen any activity in 14 days. If no activity occurs within the next 7 days, this pull request will automatically close. If you are waiting for code review and you are seeing this message, apologies! Please reply, tagging mitechie, and he will ensure that someone takes a look soon. (If the pull request is closed and you would like to continue working on it, please do tag mitechie to reopen it.) |
6425945 to
332edc8
Compare
e445629 to
766505d
Compare
OddBloke
left a comment
There was a problem hiding this comment.
Thanks, Thomas, this looks good to me! I have one proposed improvement inline, but that's a nit so I think this is fine to land without it.
What I would like to see is an integration test! I know that you have other work contingent on this landing, so we can do that as a follow-up PR to make life easier. This will likely require a little framework modification, but I believe we have the broad support for it in place. I've just filed https://bugs.launchpad.net/cloud-init/+bug/1922801, I'll expand over there.
0ab189f to
12f62d9
Compare
…parsing-and-handling
36a1dca to
3856505
Compare
|
Closing this PR as its code was merged in #865. |
Proposed Commit Message
If SSH public keys from IMDS are in the OpenSSH format, then consume them directly. Otherwise, utilize the OVF path to retrieve the OpenSSH-formatted public keys.
Additional Context
This is the long-term fix for the regression that was fixed with the temporary/short-term PR #760
Test Steps
Checklist: