Issue #1530 has been updated by jamtur01.

Status changed from Ready for Checkin to Closed

Pushed in commit:"990e8e3caadf488b5dd1d6b3bcb30df492f99647" in branch 0.24.x
----------------------------------------
Bug #1530: ssh_authorized_keys provider crashes on SSH type 1 keys
http://projects.reductivelabs.com/issues/show/1530

Author: PaulBoven
Status: Closed
Priority: Normal
Assigned to: ctrlaltdel
Category: 
Target version: 
Complexity: Unknown
Affected version: 0.24.4
Keywords: 


SSH type 1 keys do not have a prefix (ssh-dss or ssh-rsa), the line starts with 
the keysize, exponent and modulo - all in decimal, not hex or mime-encoded. If 
puppet (0.24.4 from Debian Etch backports) encounters such a file, it stops:

err: //[EMAIL PROTECTED]: Failed to retrieve current state of resource: Could 
not parse line "1024 35 1272345(...)

Also, it is impossible to specify type 1 keys in the ssh_authorized_keys 
provider, even though the Type reference implies that this should be possible: 
"type: The encryption type used. Usually ssh-dss or ssh-rsa for SSH version 2. 
Not used for SSH version 1." But not specifying the type leads to errors, and 
looking at authorized_keys/parsed.rb it seems clear that the :match cannot 
handle the SSH type 1 case.

It is of course ill advised to still run ssh type 1, but such keys should at 
least not stop Puppet from running.


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to