-
Notifications
You must be signed in to change notification settings - Fork 2.7k
replace rsc.io/letsencrypt in favour of golang.org/x/crypto #2926
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
Conversation
Please sign your commits following these rules: $ git clone -b "no_rsc" [email protected]:tariq1890/distribution.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f Amending updates the existing PR. You DO NOT need to open a new one. |
requesting your review @caervs |
Codecov Report
@@ Coverage Diff @@
## master #2926 +/- ##
==========================================
+ Coverage 60.45% 60.47% +0.01%
==========================================
Files 102 102
Lines 8001 7999 -2
==========================================
Hits 4837 4837
+ Misses 2517 2515 -2
Partials 647 647
Continue to review full report at Codecov.
|
@dmcgowan @thaJeztah any opinions on this vs #2915? From where I stand reducing our dependencies is always a win and as @tariq1890 points out this is recommended in the letsencrypt readme. |
Also want to state that this PR will lay down the path for go mod migration :). I'll have that up once this is merged. |
See also: #2530 |
+1 this would be really nice to have. Currently dealing with some dependency hell related to needing to use the @dmcgowan fork of |
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 pending one e2e runthrough which I will try to get in tomorrow
Are documentation changes needed for this change? |
I don't believe so. This PR intended to preserve any previous behaviour. |
@caervs Did the e2e tests pass for this one? |
Can I please get some response on this? |
@tariq1890 yes turns out this change needs a few edits to work properly. Please:
In the meantime we really need a second review to get this in. @manishtomar ptal. Thanks. |
c914a20
to
745026d
Compare
Signed-off-by: Tariq Ibrahim <[email protected]>
@caervs Thanks for your review comments. This is ready for another round of review. |
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.
Perfect. 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.
Code LGTM. Since I've not written this piece and never personally setup Lets Encrypt it will be nice if two things can be verified before merging this:
- Existing cache continues to work
- New setup works
@caervs Do we have tests to verify this?
@manishtomar I have manually tested with no cache in place and restarting with existing cache. I have not tested with existing cache from letsencrypt fork carrying over into new cache, but I think that'd be overkill. Worst case the workaround is either to remove the cache or change the cache directory. |
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.
Thanks for the PR @tariq1890. I just have one question about vendor version. Otherwise LGTM.
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
As per the readme over here, it's recommended to use acme/autocerts.
closes #2915