Xuanwo opened a new issue, #9428: URL: https://github.com/apache/opendal/issues/9428
The [0.21 upgrade guide](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/core/src/docs/upgrade.md#L150-L161) says that without a crypto provider every signed request fails with `ErrorKind::ConfigInvalid`. Applications see different outcomes depending on where cryptography is needed. These public operator calls were exercised locally at `ccbba108a`, with `reqsign-rustcrypto` disabled and no process-wide provider: | Configuration | Observed result | | --- | --- | | S3, static access keys, `presign_read` | `ConfigInvalid` with the missing-provider remedy | | Azure Blob, pre-generated SAS, `presign_read` | Succeeds and forwards the supplied SAS | | Azure Blob, a credential chain containing only a configured client-certificate provider, `stat` | `Unexpected` with the source `failed to load signing credential` | In the last case, the certificate provider needs crypto while loading the credential. The chain continues on provider errors and returns no credential when exhausted. The signing-error mapper consequently receives a different error. The existing [missing-provider test](https://github.com/apache/opendal/blob/ccbba108a6e39650e01d6e86b5883e19e0d32bcc/core/core/tests/reqsign_missing_provider.rs#L24-L39) exercises the direct error from the context. Please document the distinction between signing, credential loading and forwarding an existing token. The existing credential-chain fallback behavior is part of Reqsign's contract. [Reqsign credential chain](https://github.com/apache/reqsign/blob/324079eb/core/src/api.rs#L481-L510) *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]
