-
Notifications
You must be signed in to change notification settings - Fork 2
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
Security issues in requests calls #27
Comments
The CLI options to load/define them are here: https://github.com/crim-ca/weaver/blob/760c115c9f397499ecd2b59892af7937b9ac1cf2/weaver/cli.py#L2409-L2539 The obtained classes can then be passed to the |
This was resolved in version 0.3.0 when the collection_processor.py script was deprecated. stac-populator/STACpopulator/api_requests.py Lines 24 to 32 in 857ec70
which is unused and can be removed. I recommend deleting the Authentication is handled here:
|
Thanks @mishaschwartz The expected procedure would be at some point for the Since we already provide https://github.com/Ouranosinc/requests-magpie, it would be helpful to support custom classes definitions to be specified, just to make usage simplified by users that don't have the full background knowledge of the auth aspects of the platform. I also agree about removing the @Nazim-crim |
All requests calls should remove enforced
verify=False
.This is a debuging workaround that should not be enabled in deployed instances with valid SSL certificates.
The requests also assume open access. Realistically, most STAC API will not let user openly push new collections/items. The
auth
parameter must be supported to pass down an authentication/authorization method, such as https://github.com/Ouranosinc/requests-magpieFor convenience, CLI flags or utilities to pass extra arguments to requests calls could be added, but the should not enforce defaults that disable security features.
The text was updated successfully, but these errors were encountered: