ehsm icon indicating copy to clipboard operation
ehsm copied to clipboard

Change sgx-sdk to sgx-ssl for Cryptographic Functionalities APIs

Open wanghouqi opened this issue 2 years ago • 9 comments

these restful API will be adjusted:

POST <ehsm_srv_address>/ehsm?Action=
	CreateKey
	Encrypt
	Decrypt
	AsymmetricEncrypt
	AsymmetricDecrypt
	Sign
	Verify
	GenerateDataKey
	GenerateDataKeyWithoutPlaintext
	ExportDataKey

test: passed the Python test

Signed-off-by: wanghouqi [email protected]

wanghouqi avatar Sep 27 '22 14:09 wanghouqi

ehsm_marshal.cpp 这个file的change怎么没了?

yang8621 avatar Oct 09 '22 03:10 yang8621

@wanghouqi patch conflict with ehsm_kms_service/ehsm_kms_server.js

yang8621 avatar Oct 09 '22 03:10 yang8621

ehsm_marshal.cpp 这个file的change怎么没了?

The change is remove, current use the refine function import_struct_from_json.

wanghouqi avatar Oct 10 '22 02:10 wanghouqi

ehsm_marshal.cpp 这个file的change怎么没了?

The change is remove, current use the refine function import_struct_from_json.

not found it: import_struct_from_json. where is it?

yang8621 avatar Oct 10 '22 05:10 yang8621

Please also add AES GCM 512.

yang8621 avatar Oct 11 '22 02:10 yang8621

please also update the doc to add the new supported algorithms: https://github.com/intel/ehsm/blob/main/docs/API_Reference.md, e.g. Createkey

yang8621 avatar Oct 17 '22 06:10 yang8621

please also update the doc to add the new supported algorithms: https://github.com/intel/ehsm/blob/main/docs/API_Reference.md, e.g. Createkey The below should be updated:

The keyspec the user want to create, it can be the following one: EH_AES_GCM_128 EH_AES_GCM_256 EH_RSA_3072 EH_RSA_4096 EH_EC_P256 EH_EC_P512 EH_EC_SM2 EH_SM4

Notes: currently on support the keyspec(EH_AES_GCM_128 and EH_RSA_3072), for others will support later.

yang8621 avatar Oct 17 '22 06:10 yang8621

please also update the doc to add the new supported algorithms: https://github.com/intel/ehsm/blob/main/docs/API_Reference.md, e.g. Createkey

the API_Reference.md will update on a new PR

wanghouqi avatar Oct 17 '22 06:10 wanghouqi

我还是建议这种情况把大括号删了:

if { 只有一行 }

yang8621 avatar Oct 21 '22 06:10 yang8621

https://github.com/intel/ehsm/pull/190

wanghouqi avatar Nov 21 '22 08:11 wanghouqi