-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
crl provider: Static and FileWatcher provider implementations #6670
Merged
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
978cb44
rename certificateListExt to CRL
gtcooke94 7d032e0
CRLProvider file
gtcooke94 cdbc298
Add CRLProvider to RevocationConfig
gtcooke94 95991d8
Beginning refactor of CRL handling
gtcooke94 32e3158
Shell of StaticCRLProvider
gtcooke94 00de36e
basic static crl provider test
gtcooke94 8033cab
use loadCRL helper
gtcooke94 338a7f4
refactor of CRL loading
gtcooke94 d1f63fe
Table tests
gtcooke94 01afa97
Table tests
gtcooke94 401eb79
Add tests with Static CRL provider
gtcooke94 c88d12d
New certs to be used for CRL tests. Added test for passing and failin…
erm-g 1feaae3
Main functionality of File Watcher (Directory) CRL provider
erm-g a9a84f1
Refactor async go routine, validate() func, add unit tests
erm-g 5a0acad
Custom error callback, related unit tests
erm-g f3c830b
Error callback test improvement
erm-g 4ea1b34
Comments for StaticCRLProvider
erm-g aeebd4e
Comments for public API
erm-g 735ac20
go mod tidy
erm-g 5c76a60
Comments for tests
erm-g 0bc7757
Fix vet errors
erm-g f844c8c
Change Static provider behavior to match C Core, address other PR com…
erm-g a4da85e
Data race fix
erm-g c3ba07e
Test helper fn change
gtcooke94 ffe5c34
Address PR comments
erm-g 6d28181
Address PR comments (part 2)
erm-g 7814373
Migration from context to channel for controlling crl reloading gorou…
erm-g 1a46b65
Align in-memory CRL updates during directory scan to C++ behavior
erm-g d7f1555
Improve comments for ScanCRLDirectory
erm-g 2f1935d
Base test case for Scan CRL Directory file manipulations
erm-g 0a7b086
full set of cases for CRL directory content manipulation
erm-g 8d05f28
Add comment for table test structure
erm-g ccbf7f6
Fix for go.mod and go.sum
erm-g 99ecab0
Empty directoru workaround
erm-g 9e5a70d
Delete deprecated crl functionality
erm-g 5643760
Restoring deprecated crl files
erm-g 8898959
Fit to grpctest.Tester pattern
erm-g b16af8b
Update readme for crl provider tests
erm-g 21f4301
Address PR comments
erm-g 51b42aa
Revert "Restoring deprecated crl files"
gtcooke94 f0c1ca4
Merge remote-tracking branch 'upstream/master' into CrlTemp
gtcooke94 08188d1
Revert "Resolve conflicts with upstream - deletion of deprecated crl"
erm-g 9b8d07e
Update link for gRFC proposal
erm-g ad15e23
Address PR comments
erm-g 8e02546
Address PR comments part 1
erm-g e6a690d
Address PR comments part 2
erm-g 340757d
Address PR comments part 3
erm-g 1e4c5ac
Fix for go.mod and go.sum
erm-g f654d18
Fix comment typo
erm-g 53d6b05
Fix for gRFC tag
erm-g 1f398eb
Add more details to CRL api godoc comments.
erm-g f3dcca1
Address PR comments
erm-g 131e6e7
Address PR comments
erm-g bc14ea8
Delete crl_deprecated.go and crl_deprecated_test.go
erm-g 96bf905
Delete testdate/crl/provider/filewatcher directory and .gitignore und…
erm-g 0ce6a2c
Race test fix
erm-g c57a08a
Address PR comments
erm-g 4c53c56
Address PR comments
erm-g 7fedab5
Refactor directory reloader test from checking size of crl map to que…
erm-g 1025333
Add extra case for RefreshDuration config test
erm-g d9ba363
Update cpmment for table test structure
erm-g 150e585
Unexport scan scanCRLDirectory, drop related mutex, update the comments
erm-g d7cf48f
Update API comments, clear tmp dir after the tests
erm-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty directoru workaround
- Loading branch information
commit 99ecab06671e58a231220fe78d72f2a2466659f1
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
security/advancedtls/testdata/crl/provider/filewatcher/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
!.gitignore |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please don't submit these kinds of files.
But, also, why does this directory exist? If it's for during-testing use, then make a temp directory instead.
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.
Yes, it's for testing only - refactored to
os.MkdirTemp
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.
Cleaned up the directory as well - #6670 (comment)