Merge ~aixtools/cloud-init:ssh_update into cloud-init:master
Proposed by
Michael Felt
Status: | Merged |
---|---|
Merged at revision: | 77092338c539627083d53f19bca84450216706af |
Proposed branch: | ~aixtools/cloud-init:ssh_update |
Merge into: | cloud-init:master |
Diff against target: |
37 lines (+16/-7) 1 file modified
cloudinit/ssh_util.py (+16/-7) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Needs Fixing | ||
Review via email: mp+313377@code.launchpad.net |
Commit message
Update the list of valid ssh keys.
update ssh_util.py with latest keys (from openssh-
and remove extinct keys ending with "-<email address hidden>"
Added keys:
rsa-sha2-256,
rsa-sha2-512,
ed25519,
ssh-ed25519,
<email address hidden>
Removed both of the double entries for the keys
<email address hidden>
<email address hidden>
Description of the change
Update the list of valid ssh keys (from openssh-7.3p1 ssh_keys.c)
** Do not know if this is a "known bug"
To post a comment you must log in.
Michael,
The content of the patch is fine and I can pull it, but there are a few minor/review things.
I do realize these are all nit picks and I am willing to just fix them up myself, so really this is just helping to get you familiar with the review process.
If you'd rather me just do these things, just say so.
Thanks!
a.) set the 'commit message' (Set commit message) to something.
what you have in Description is fine, except, please just mention what things we are adding.
b.) please go ahead and break VALID_KEY_TYPES into one entry per line and sort it. Ie:
VALID_KEY_TYPES = (
"dsa",
"ecdsa",
...
"<email address hidden>",
"<email address hidden>",
"<email address hidden>",
)
that will make updating in the future more obvious.
c.) the comment above VALID_KEY_TYPES is > 80 chars now, so 'tox -e flake8' will complain.