Support ssh-ed25519 keys

The newest version of OpenSSH supports a new, wonderful key type. authorized_key incorrectly discards pubkeys of this type as busted because it doesn't recognize type signature.
pull/6223/head
Laurens Van Houtven 11 years ago
parent e798b558aa
commit 80e2c597a8

@ -236,6 +236,7 @@ def parsekey(module, raw_key):
''' '''
VALID_SSH2_KEY_TYPES = [ VALID_SSH2_KEY_TYPES = [
'ssh-ed25519',
'ecdsa-sha2-nistp256', 'ecdsa-sha2-nistp256',
'ecdsa-sha2-nistp384', 'ecdsa-sha2-nistp384',
'ecdsa-sha2-nistp521', 'ecdsa-sha2-nistp521',

Loading…
Cancel
Save