Skip to content

Conversation

@okatu-loli
Copy link
Collaborator

No description provided.

Introduces the ability to sign generated URLs for enhanced security and access control.

This feature is activated by configuring a `PrivateKey`, `UID`, and `ValidDuration` in the driver settings. If a private key is provided, the driver will sign the output URLs, making them time-limited based on the `ValidDuration`. The `ValidDuration` defaults to 30 minutes if not specified.

The core signing logic is encapsulated in the new `sign.go` file. The `driver.go` file integrates this signing process before returning the final URL.
@okatu-loli okatu-loli changed the title feat(driver): Add URL signing support feat(driver): 123 Open Add URL signing support Oct 9, 2025
@okatu-loli okatu-loli changed the title feat(driver): 123 Open Add URL signing support feat(driver): 123 Open add URL signing support Oct 9, 2025
@alist666 alist666 merged commit 35d3224 into AlistGo:main Oct 11, 2025
12 checks passed
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.

3 participants