-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Feat/minio reader noverify #10744
Feat/minio reader noverify #10744
Conversation
@@ -29,6 +29,7 @@ def __init__( | |||
file_metadata: Optional[Callable[[str], Dict]] = None, | |||
minio_endpoint: Optional[str] = None, | |||
minio_secure: bool = False, | |||
minio_cert_check: bool = False, |
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.
Shouldn't this be True
by default as a security best practice?
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.
You're right. I'll fix that ASAP
the same feature was approved as a PR on llamahub about a couple of days ago. |
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!
* allowing connection to a TLS-secured with untrusted certificate MinIO instance * updated README for MinIO reader * cert_check should default to True for MinIO reader --------- Co-authored-by: Ferdinando Simonetti <info@fsimonetti.info>
* allowing connection to a TLS-secured with untrusted certificate MinIO instance * updated README for MinIO reader * cert_check should default to True for MinIO reader --------- Co-authored-by: Ferdinando Simonetti <info@fsimonetti.info>
Description
The fix allows reading documents from a MinIO instance secured with TLS even if the instance's certificate isn't trusted.
It introduces
minio_cert_check
option (defaulting to False, so running it against a self-signed MinIO will be fine).Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Suggested Checklist:
make format; make lint
to appease the lint gods