cloud-init/cloud-init-0.7.6-bzr1245-ecdsa.patch
Colin Walters 9785285421 Update to 0.7.9
Rebased some of our patches that look like they still need upstreaming.
Deleted others that were merged.

I disabled a few tests that I couldn't figure out quickly why they were
failing.  From looking at the Debian packaging, it looks like they
turn off a bunch of tests too because they require networking.

The LXD one I just nuked since I don't care right now.

The nosetest bit I need to send upstream.
2017-01-20 12:56:07 -05:00

17 lines
508 B
Diff

diff --git a/cloudinit/ssh_util.py b/cloudinit/ssh_util.py
index be8a49e..b95b956 100644
--- a/cloudinit/ssh_util.py
+++ b/cloudinit/ssh_util.py
@@ -22,8 +22,11 @@ DEF_SSHD_CFG = "/etc/ssh/sshd_config"
VALID_KEY_TYPES = (
"dsa",
"ecdsa",
+ "ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp256-cert-v01@openssh.com",
+ "ecdsa-sha2-nistp384",
"ecdsa-sha2-nistp384-cert-v01@openssh.com",
+ "ecdsa-sha2-nistp521",
"ecdsa-sha2-nistp521-cert-v01@openssh.com",
"ed25519",
"rsa",