Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求签名中 StartTimestamp 的实现减了 60 #170

Closed
tssujt opened this issue Jun 28, 2021 · 1 comment
Closed

请求签名中 StartTimestamp 的实现减了 60 #170

tssujt opened this issue Jun 28, 2021 · 1 comment

Comments

@tssujt
Copy link

tssujt commented Jun 28, 2021

sign_time = "{bg_time};{ed_time}".format(bg_time=start_sign_time - 60, ed_time=start_sign_time + self._expire)

根据文档 https://cloud.tencent.com/document/product/436/7778#.E6.AD.A5.E9.AA.A41.EF.BC.9A.E7.94.9F.E6.88.90-keytimeKeyTime 中的 StartTimestamp 应为当前时间戳,而代码中的实现却是当前时间戳减了 60;但是其他语言的 SDK 并没有减 60

@tssujt
Copy link
Author

tssujt commented Jul 8, 2021

@dt3310321 Hope to get your help

@tssujt tssujt closed this as completed Oct 26, 2021
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

No branches or pull requests

1 participant