Dne 27.8.2012 11:36, Jan Cholasta napsal(a):
Dne 24.8.2012 12:01, Jan Cholasta napsal(a):
Dne 24.8.2012 10:04, Jan Cholasta napsal(a):
Hi,
this patch allows use of OpenSSH formatted public keys in LDAP. This is needed to fix https://fedorahosted.org/freeipa/ticket/2932.
Note that this is just a quick fix, only the public key portion of an OpenSSH formatted public key is used, options and comments are ignored. A full fix will need more extensive changes in the code.
Honza
Self-NACK, the parser is not very robust, I need to improve it.
Honza
Updated the patch & split it in two.
Honza
Made several improvements to the parser to better match OpenSSH's behavior: - do not allow newlines in the string - allow non-ASCII and control characters in option values and comments - allow backslash-escaped quotes in option values
Honza