Skip to content

refactor!: Migrate service s3 to reqsign-core 2.0 - #6656

Merged
Xuanwo merged 14 commits into
mainfrom
6560-reqsign-core-v1-s3
Nov 20, 2025
Merged

Xuanwo merged 14 commits into
mainfrom
6560-reqsign-core-v1-s3

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Oct 13, 2025 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #6560

Rationale for this change

Migrate to reqsign core v2.

What changes are included in this PR?

opendal now accepts reqsign_core::ProvideCredentialChain instead.

Are there any user-facing changes?

- pub fn customized_credential_load(self, cred: Box<dyn AwsCredentialLoad>)
+ pub fn credential_provider_chain(mut self, chain: ProvideCredentialChain<Credential>)

Signed-off-by: Xuanwo <[email protected]>
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" labels Oct 13, 2025
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
Xuanwo added a commit to apache/reqsign that referenced this pull request Oct 13, 2025
Fix part of apache/opendal#6656

In the real world, token files may contain non-URL-safe characters. This
PR handles them by trimming and encoding the tokens before sending them
out.

Signed-off-by: Xuanwo <[email protected]>
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo
Xuanwo marked this pull request as draft October 13, 2025 08:15
@Xuanwo

Xuanwo commented Oct 13, 2025

Copy link
Copy Markdown
Member Author

This PR will need the new version of reqsign to work.

Signed-off-by: Xuanwo <[email protected]>
@Xuanwo

Xuanwo commented Oct 13, 2025

Copy link
Copy Markdown
Member Author

This PR is currently waiting for seanmonstar/reqwest#2837

Xuanwo added a commit to apache/reqsign that referenced this pull request Oct 19, 2025
Allow apache/opendal#6656 to pass.

---

**This PR was primarily authored with Codex using GPT-5-Codex and then
hand-reviewed by me. I AM responsible for every change made in this PR.
I aimed to keep it aligned with our goals, though I may have missed
minor issues. Please flag anything that feels off, I'll fix it
quickly.**

---------

Signed-off-by: Xuanwo <[email protected]>
@Xuanwo

Xuanwo commented Oct 21, 2025 •

Copy link
Copy Markdown
Member Author

reqsign has started a new release to address issues we met here: apache/reqsign#660

@Xuanwo

Xuanwo commented Nov 11, 2025

Copy link
Copy Markdown
Member Author

Let's merge this PR in the next version of opendal.

@Xuanwo
Xuanwo marked this pull request as ready for review November 20, 2025 08:44
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer releases-note/refactor The PR does a refactor on code or has a title that begins with "refactor" size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate to reqsign-core v1 for s3 service

2 participants