ssh public key issue with 1.0.7.3
When uploading a public key file, if the file contains training newlines then newlines seems to be introduced in ldap which make the key unusable by application.
How did I perform the diagnostic :
I have configured sshd on my hosts to read user sshkeys in ldap.
If I introduce my key through fd using a file with no newline at the end, keys are properly red and I can log correctly.
If the files containing my key contains trailing newlines, then login breaks when I introduce the key using fd.
Solution :
remove trailing spaces and newline before introducing the key in ldap.
(from redmine: issue id 3091, created on 2014-04-16, closed on 2014-04-23)
- Changesets:
- Revision bf5044ea by Côme Chilliet on 2014-04-16T13:53:38.000Z:
Fixes #3091 Ignoring trailing whitespaces in ssh keys
- Revision ffe717bd by Côme Chilliet on 2014-04-16T13:53:47.000Z:
Fixes #3091 ssh public key issue with 1.0.7.3
- Revision 9e8d926f by Côme Chilliet on 2014-04-16T13:54:18.000Z:
Fixes #3091 Ignoring trailing whitespaces in ssh keys
- Revision 9842918f by Côme Chilliet on 2014-04-16T13:54:57.000Z:
Fixes #3091 ssh public key issue with 1.0.7.3
- Revision a9ce2de8 by Côme Chilliet on 2014-04-16T13:55:06.000Z:
Fixes #3091 Ignoring trailing whitespaces in ssh keys
- Revision 44bda708 by Côme Chilliet on 2014-04-16T13:55:08.000Z:
Fixes #3091 ssh public key issue with 1.0.7.3
- Custom Fields:
- Bug in version: 1.0.7.3
- Uploads: