-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update ssh-key format in tests to match real-world usage #522
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor nit is the general accepted for non real domains is example.com, I think email.com is a real domain so we may not want to use that.
oh, I did not know that, will update this accordingly, thanks 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Irene Diez <idiez@redhat.com>
Our FSIM for creating users with an associated ssh key did not take into account that ssh keys are strings that may have spaces, e.g. 'ssh-ed25519 long-string user@example.com', and used ' ' as the split character. This sets ';' as the split character in the FSIM avoiding installing unusable ssh keys. Fixes rhbz#2218231. Signed-off-by: Irene Diez <idiez@redhat.com>
@nullr0ute sorry about the dismissed review, I ended up fixing the BZ also in this PR |
Linking #507 for awareness |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This change allows us to reproduce RHBZ#2218231 (and to catch more related bugs in the future)
and it also fixes that same BZ.
Our FSIM for creating users with an associated ssh key did
not take into account that ssh keys are strings that may
have spaces, e.g. 'ssh-ed25519 long-string user@example.com',
and used ' ' as the split character.
This sets ';' as the split character in the FSIM avoiding
installing unusable ssh keys.