While I'm running test/test_kms_with_cli.py, it just stopped during the generateQuote operation.
Is it some code update bug?
On server side, it stops here.
wbs79-System-Product-Name 1940973 2023-08-18T18:19:27.700 INFO [function.js: line 427] - {"body":{"appid":"35a99bfc-7908-49ea-8292-cb2f6c854e7d","payload":{"mr_enclave":"26bd5697bc4ce98829c734767ca05dc5fea531aad98836c3959c516791c36c1f","mr_signer":"c30446b4be9baf0f69728423ea613ef81a63e72acf7439fa0549001fd5482835"},"timestamp":"1692350367697","sign":"pMCn/1L28VwI6SJoQZF3B9dkrTq1JpNKPglHwUovP/Y="},"query":{"Action":"UploadQuotePolicy"},"ip":"143.248.249.162"}
wbs79-System-Product-Name 1940973 2023-08-18T18:19:27.708 INFO [function.js: line 427] - {"body":{"appid":"35a99bfc-7908-49ea-8292-cb2f6c854e7d","payload":{"policyId":"c77cf40b-2431-4b3f-8c8a-9ae284775f8f"},"timestamp":"1692350367705","sign":"K+/UYPIAhomZ4eczJEdzgeLi8o2sDWYGRA3kuNWFtiw="},"query":{"Action":"GetQuotePolicy"},"ip":"143.248.249.162"}
wbs79-System-Product-Name 1940973 2023-08-18T18:19:27.716 INFO [function.js: line 427] - {"body":{"appid":"35a99bfc-7908-49ea-8292-cb2f6c854e7d","payload":{"challenge":"Y2hhbGxlbmdlMTIzNDU2"},"timestamp":"1692350367713","sign":"tIvVmlEWd3wa3mDqc8iIAUtP3BaTmGkwg0knj/3zL4U="},"query":{"Action":"GenerateQuote"},"ip":"143.248.249.162"}
wbs79-System-Product-Name 08/18/23 09:19:27,718 DEBUG [App/ffi_operation.cpp: line 1357] - challenge:
Y2hhbGxlbmdlMTIzNDU2
^C^C^C^C^Z
[1]+ Stopped sudo ./run_with_single.sh
On client side, it stops here.
====================test_GenerateQuote_and_VerifyQuote start===========================
Succeed.
uploadQuotePolicy req:
OrderedDict([('appid', '35a99bfc-7908-49ea-8292-cb2f6c854e7d'), ('payload', OrderedDict([('mr_enclave', '26bd5697bc4ce98829c734767ca05dc5fea531aad98836c3959c516791c36c1f'), ('mr_signer', 'c30446b4be9baf0f69728423ea613ef81a63e72acf7439fa0549001fd5482835')])), ('timestamp', '1692350367697'), ('sign', 'pMCn/1L28VwI6SJoQZF3B9dkrTq1JpNKPglHwUovP/Y=')])
UploadQuotePolicy successfully
uploadQuotePolicy resp:
{"code":200,"message":"Upload quote policy success.","result":{"policyId":"c77cf40b-2431-4b3f-8c8a-9ae284775f8f"}}
getQuotePolicy req:
OrderedDict([('appid', '35a99bfc-7908-49ea-8292-cb2f6c854e7d'), ('payload', OrderedDict([('policyId', 'c77cf40b-2431-4b3f-8c8a-9ae284775f8f')])), ('timestamp', '1692350367705'), ('sign', 'K+/UYPIAhomZ4eczJEdzgeLi8o2sDWYGRA3kuNWFtiw=')])
GetQuotePolicy successfully
getQuotePolicy resp:
{"code":200,"message":"Query quote policy success.","result":{"policyId":"c77cf40b-2431-4b3f-8c8a-9ae284775f8f","mr_enclave":"26bd5697bc4ce98829c734767ca05dc5fea531aad98836c3959c516791c36c1f","mr_signer":"c30446b4be9baf0f69728423ea613ef81a63e72acf7439fa0549001fd5482835","createTime":1692350367702}}
check getQuotePolicy result with mr_enclave: True
check getQuotePolicy result with mr_signer: True
generate_quote req:
OrderedDict([('appid', '35a99bfc-7908-49ea-8292-cb2f6c854e7d'), ('payload', OrderedDict([('challenge', 'Y2hhbGxlbmdlMTIzNDU2')])), ('timestamp', '1692350367713'), ('sign', 'tIvVmlEWd3wa3mDqc8iIAUtP3BaTmGkwg0knj/3zL4U=')])