alist/drivers/123_open
okatu-loli 24b27d77ae feat(driver): Add URL signing support
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.
2025-10-09 19:50:55 +08:00
..
api.go feat(123_open): add new driver support for 123 Open (#9246) 2025-08-04 11:56:57 +08:00
driver.go feat(driver): Add URL signing support 2025-10-09 19:50:55 +08:00
meta.go feat(driver): Add URL signing support 2025-10-09 19:50:55 +08:00
sign.go feat(driver): Add URL signing support 2025-10-09 19:50:55 +08:00
token.go feat(123_open): add new driver support for 123 Open (#9246) 2025-08-04 11:56:57 +08:00
types.go feat(123_open): add new driver support for 123 Open (#9246) 2025-08-04 11:56:57 +08:00
upload.go feat(123_open): add new driver support for 123 Open (#9246) 2025-08-04 11:56:57 +08:00
util.go feat(123_open): add new driver support for 123 Open (#9246) 2025-08-04 11:56:57 +08:00