Hi @Kan_Li
Hope you are well.
Thank you for your kind support.
Currently, I have created the policy and attached it.
sudo ssscli policy userid ecc_userid_policy 0x7DA00001
ssscli generate ecc 0x20181002 NIST_P256 --policy_name ecc_userid_policy
After doing these ones, if I try to get pub key from this keyID, I cannot get it.
ssscli get ecc pub 20181002 pub_key.pem
Getting ECC Public Key from KeyID = 0x20181002
sss :INFO :atr (Len=35)
00 A0 00 00 03 96 04 03 E8 00 FE 02 0B 03 E8 08
01 00 00 00 00 64 00 00 0A 4A 43 4F 50 34 20 41
54 50 4F
sss :WARN :Communication channel is Plain.
sss :WARN :!!!Not recommended for production use.!!!
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5865 Function:sss_se05x_TXn
sss :WARN :nxEnsure:'status == SM_OK' failed. At Line:3396 Function:sss_se05x_key_store_get_key
ERROR:sss.keystore:sss_key_store_get_key FAILED
ERROR! Could not retrieve ECC Public Key from KeyID 0x20181002
Of course, I know this happened because the userID has not been provisioned before using it.
But I couldnot do it using ssscli commmand.(provision of userID using ssscli command)
And if I cannot do this process via ssscli command, how can I do it?
You mentioned about this.
SE-PLUG-TRUST-MW\simw-top\binaries\tst\VCOM-None-se05x_Delete_and_test_provision.exe
So for provision of userID, do I have to run this exe file first?
And then, for the production usage later, we have to run this exe file all the time?
I am not clear about this problem.
Please help me kindly.
I will wait for your update.
Thank you for your time.
Regards.