-
Notifications
You must be signed in to change notification settings - Fork 58
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
Handle whitespace in keylime.conf #409
Conversation
153c683
to
32b3eb7
Compare
/packit retest-failed |
/packit test |
This seems like a valid error and fix to me insofar as Keylime should not be trying to switch into a @ansasaki I think the error with testing here results from the expectation that setting |
I agree that there is an issue in
The best for me would be to fix the handling of whitespace/empty value instead of making it an invalid value for all options. I would make the semantics that whitespace/empty value means to fallback to the default value for all options (but add a warning message that an empty/whitespace value was found) |
da61cef
to
5996663
Compare
955f36b
to
495baf2
Compare
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
@ansasaki Is this along the lines of what you were thinking? |
Couldn't we modify |
b9d915c
to
0bd9765
Compare
@ansasaki Which check is this? I've tried this change and
So the code will still call
Instead the earlier change to check for whitespace before calling |
I meant this check: Lines 462 to 472 in 5b9072a
I misread the code and thought it would be caught here, but
Right, We should also fix the message in the |
@ansasaki Thanks for checking, makes sense to me. |
Signed-off-by: greyspectrum <[email protected]>
0e61282
to
04ad090
Compare
@ansasaki This should look more like what you outlined in your last comment now. |
Signed-off-by: greyspectrum [email protected]
Closes #408