Xuanwo opened a new issue, #9427:
URL: https://github.com/apache/opendal/issues/9427

   The split-crate S3 example installs an HTTP transport and configures an S3 
builder, but its dependency list leaves the signing context without a crypto 
provider after #9271. Following the same setup with GCS service-account 
credentials also leaves out the provider. This affects applications using the 
individual crates directly, even when they keep those crates’ default features.
   
   At `ccbba108a`, with `opendal-core` and `opendal-service-s3` as ordinary 
dependencies, construct an operator with a bucket, region and static key pair, 
then call `presign_read("item", Duration::from_secs(60))`. Construction 
succeeds and presigning returns `ConfigInvalid`. Enabling 
`opendal-core/reqsign-rustcrypto` in the same application produces a signed URL 
offline. The service's dev-dependency enables that feature for its own tests.
   
   Please update the core composition example and the split-crate setup 
instructions for services that need signing. Show the Cargo feature on 
`opendal-core` and the alternative of installing a provider through 
`opendal_core::reqsign_core::crypto::install_default` before building the 
operator.
   
   [Core composition 
example](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/core/README.md#L48-L55)
 · [S3 
setup](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/services/s3/README.md#L25-L33)
 · [GCS 
setup](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/services/gcs/README.md#L18-L26)
   
   *AI-generated issue, verified locally on OpenDAL main.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to