-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix cert match pattern #2466
Fix cert match pattern #2466
Conversation
Signed-off-by: Moto Ishizawa <[email protected]>
Signed-off-by: Moto Ishizawa <[email protected]>
@@ -0,0 +1,27 @@ | |||
-----BEGIN RSA PRIVATE KEY----- |
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.
Is this file used?
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.
No. Should I remove this? I put this file for future use due to the certificate file is always pair with the key file.
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.
I think no problem.
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.
My bad. no problem.
I thought that other cert files already existed for the test. So this patch's cert files are only used for checking regex.
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.
No problem. Thank you for your review!
Thanks! |
Which issue(s) this PR fixes:
Fixes #2458
What this PR does / why we need it:
This PR fixes regex pattern for PEM encoded certificate files to allow parsing files that do not ended with newline. This will also add a test for the fix.
Docs Changes:
No.
Release Note: