feat: rock 5c
This commit is contained in:
parent
bdb5a894fc
commit
e12ff1fd28
@ -1 +1 @@
|
|||||||
http://xplayer-ota.pureroad.cn/files_20250808_090231.tar.xz
|
http://xplayer-ota.pureroad.cn/files_20250808_184739.tar.xz
|
||||||
|
|||||||
@ -44,7 +44,7 @@ generate_upload_token() {
|
|||||||
local put_policy="{\"scope\":\"${scope}\",\"deadline\":${deadline}}"
|
local put_policy="{\"scope\":\"${scope}\",\"deadline\":${deadline}}"
|
||||||
|
|
||||||
# Base64编码上传策略(按照七牛云官方文档:先base64,再替换+/为-_,policy需要去掉=)
|
# Base64编码上传策略(按照七牛云官方文档:先base64,再替换+/为-_,policy需要去掉=)
|
||||||
local encoded_put_policy=$(echo -n "$put_policy" | base64 | tr '+/' '-_' | tr -d '=')
|
local encoded_put_policy=$(echo -n "$put_policy" | base64 | tr '+/' '-_')
|
||||||
|
|
||||||
# 使用HMAC-SHA1签名(对编码后的策略进行签名)
|
# 使用HMAC-SHA1签名(对编码后的策略进行签名)
|
||||||
# 注意:签名的base64编码不去掉=号!
|
# 注意:签名的base64编码不去掉=号!
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user