-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: Default to insecure mode when no certs are present #5511
Conversation
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #5511 +/- ##
==========================================
+ Coverage 46.69% 46.95% +0.25%
==========================================
Files 240 240
Lines 15004 15011 +7
==========================================
+ Hits 7006 7048 +42
+ Misses 7102 7066 -36
- Partials 896 897 +1
Continue to review full report at Codecov.
|
I don’t think understand why so many users broken. Are you sure v3 works with —secure=true? Why was it breaking? These files are on the image. Could it be we need to backport of fix something else? |
I believe a lot of users download the binary from GitHub (not a Docker image) and run |
@alexec Addressed per your comments in #5466 (comment) |
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.
Wouldn’t it be easier just to do io.Stat on line 158?
Sorry @alexec, could I ask you to clarify what you mean? It's not clear which line of code do you mean by "line 158" based on the numbering from this PR's file changes |
It is like 158 before modification. Something like:
|
@alexec Clever, I like that. Changed |
-----END PRIVATE KEY----- | ||
` | ||
|
||
func TestDefaultSecureMode(t *testing.T) { |
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.
nice work!
Signed-off-by: Simon Behar <simbeh7@gmail.com>
Fixes #5466
Signed-off-by: Simon Behar simbeh7@gmail.com
Checklist: