hmac-validation中校验签名时间戳时采用了GMT(RFC1123)时间,如果用Unix时间戳会有什么问题吗? #7909
iSuperCoder
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
unix时间戳是时区无关的,无论什么时区得到的都是GMT/UTC时间的毫秒级时间戳。使用时间戳作为签名中的时间因素,在理论上好像没什么问题。大家怎么看呢?GMT(RFC1123)比Unix时间戳有什么不可或缺的优势吗?
Beta Was this translation helpful? Give feedback.
All reactions