freeipa/ipaclient/install
Rob Crittenden 21777e4ba0 When reading SSH pub key don't assume last character is newline
The code was attempting to strip off any trailing newline and then
calling lstrip() on the rest.

This assumes that the key has a trailing newline. At best this
can cause the last character of the comment to be lost. If there
is no comment it will fail to load the key because it is invalid.

Patch by Félix-Antoine Fortin <felix-antoine.fortin@calculquebec.ca>

https://pagure.io/freeipa/issue/7959

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-06-05 15:28:57 -04:00
..
__init__.py ipa-client-install: move client install to module 2016-11-11 12:13:56 +01:00
automount.py install: re-introduce option groups 2017-03-13 10:12:40 +01:00
client.py When reading SSH pub key don't assume last character is newline 2019-06-05 15:28:57 -04:00
ipa_certupdate.py Use new LDAPClient constructors 2019-02-05 08:39:13 -05:00
ipa_client_install.py Improve console logging for ipa-server-install 2018-06-20 08:38:03 +02:00
ipachangeconf.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
ipadiscovery.py Make IPADiscovery available in PyPI packages 2019-03-01 11:44:27 +01:00
sssd.py ipaclient: Remove --no-sssd and --no-ac options 2018-08-13 12:23:53 +02:00
timeconf.py Moving prompt for NTP options to install_check 2019-05-22 18:20:22 +02:00