Skip to content

feat: add S3 auth support (behind a new feature flag)#172

Open
mat813 wants to merge 1 commit intojaemk:masterfrom
mat813:s3-auth
Open

feat: add S3 auth support (behind a new feature flag)#172
mat813 wants to merge 1 commit intojaemk:masterfrom
mat813:s3-auth

Conversation

@mat813
Copy link
Copy Markdown
Contributor

@mat813 mat813 commented Mar 26, 2026

Closes #88

@GideonBear
Copy link
Copy Markdown
Collaborator

Have you tested this?

Copy link
Copy Markdown
Collaborator

@GideonBear GideonBear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nits, assuming you've tested everything, and have done your research on how to implement AWS sign v4 :)

ureq = { version = "3.0.6", optional = true, default-features = false, features = ["gzip", "json", "socks-proxy", "charset"]}

hmac = { version = "0.12.1", optional = true }
base64 = { version = "0.22.1", optional = true }
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused?


/// RFC 3986 percent-encoding, as required by AWS SigV4.
/// `encode_slash = true` for query param values, `false` for URI path segments.
fn uri_encode(input: &str, encode_slash: bool) -> String {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a crate for this?

@@ -607,6 +814,9 @@ fn fetch_releases_from_s3(

debug!("using api url: {:?}", api_url);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be placed below?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Access S3 buckets

2 participants