Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Conversation

@ForLisiteng
Copy link

@ForLisiteng ForLisiteng commented Jul 28, 2023

no longer use the timestamp as nonce, since it will have concurrency access issues, even for different requests.

now, the nonce is optional which max length is 64 bytes, the caller can decide whether to pass it with the request data.

Signed-off-by: lisiteng sitengx.li@intel.com

}
const {
appid,
timestamp: nonce,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comment to describe nonce is a optional param

@ForLisiteng ForLisiteng changed the title checkout nonce in ehsm_kms_service update nonce in ehsm_kms_service Aug 1, 2023
@whh39 whh39 force-pushed the kms branch 6 times, most recently from 3e15936 to a34c794 Compare August 2, 2023 09:02
@yang8621
Copy link
Contributor

yang8621 commented Aug 3, 2023

is undefined checked?
there are both null and undefined for js.

no longer use the timestamp as nonce, since it will have concurrency
access issues, even for different requests.

now, the nonce is optional which max length is 64 bytes, the caller
can decide whether to pass it with the request data.

Signed-off-by: lisiteng <sitengx.li@intel.com>
@yang8621 yang8621 merged commit 35016f0 into intel:main Aug 3, 2023
@ForLisiteng ForLisiteng deleted the kms branch September 25, 2023 01:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants