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

   The [upgrade 
guide](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/core/src/docs/upgrade.md#L150-L168)
 recommends `reqsign-rustcrypto` for GCS signing. On `wasm32-unknown-unknown`, 
selecting that provider still leaves local service-account RSA signing 
unavailable. Applications discover this only when signing a request.
   
   Verified at `ccbba108a` with `opendal-service-gcs` and 
`opendal-core/reqsign-rustcrypto`. Provide a locally generated 2048-bit RSA key 
in a base64-encoded service-account JSON document, construct 
`Gcs::default().bucket(...).credential(...)`, and call `presign_read("item", 
Duration::from_secs(60))`. Native execution produces a URL containing 
`X-Goog-Signature`. The Wasm build succeeds, but executing it in Node returns 
OpenDAL `Unexpected` with the source `RSA PKCS#1 v1.5 SHA-256 signing is not 
supported on wasm32-unknown-unknown by reqsign-crypto-rustcrypto`. Signing the 
URL is local and requires no Google API request.
   
   Please state this target-specific limitation alongside the GCS 
service-account instructions and the provider migration guidance. It applies to 
private-key operations such as local signed URLs and RS256 assertions for token 
exchange. [Reqsign RustCrypto 
implementation](https://github.com/apache/reqsign/blob/324079eb/crypto/rustcrypto/src/lib.rs#L108-L140)
   
   *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