Hi,
The object was created with a specific UserID, but when I attempt to connect with the same UserID, I'm unable to delete it if it wasn't deleted during its initial creation. Additionally, when I open a session without connecting using the UserID, I still cannot delete it.
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
App :INFO :sss_se05x_session_open Success
APDU :DEBUG:ReadIDList []
APDU :DEBUG:kSE05x_TAG_1 [output offset] = 0x0
APDU :DEBUG:kSE05x_TAG_2 [filter] = 0xFF
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xD1D1D7D9
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xD1D1D7D9 (Others)
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xB0B5B5B5
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xB0B5B5B5 (Others)
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xB1B5B5B5
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xB1B5B5B5 (Others)
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xB2B5B5B5
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xB2B5B5B5 (Others)
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xD1D1D0D9
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xD1D1D0D9 (Others)
APDU :DEBUG:DeleteSecureObject []
APDU :DEBUG:kSE05x_TAG_1 [object id] = 0xD1D1D0D0
sss :ERROR:(0x6986) Command not allowed ▒ access denied based on object policy.At Line:661 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing ObjId=0xD1D1D0D0 (Others)
Not erasing ObjId=0x7FFF0209 (Reserved)
Not erasing ObjId=0xF0000030 (IoT Hub)
Not erasing ObjId=0xF0000003 (IoT Hub)
Not erasing ObjId=0xF0000001 (IoT Hub)
Not erasing ObjId=0xF0000002 (IoT Hub)
Not erasing ObjId=0xF0000000 (IoT Hub)
Not erasing ObjId=0xF0000012 (IoT Hub)
Not erasing ObjId=0xF0000020 (IoT Hub)
Not erasing ObjId=0x7FFF0204 (Reserved)
Not erasing ObjId=0x7FFF0202 (Reserved)
Not erasing ObjId=0x7FFF0201 (Reserved)
Not erasing ObjId=0x7FFF0206 (Reserved)
Not erasing ObjId=0xF0000123 (IoT Hub)
Not erasing ObjId=0xF0000121 (IoT Hub)
Not erasing ObjId=0xF0000113 (IoT Hub)
Not erasing ObjId=0xF0000111 (IoT Hub)
Not erasing ObjId=0xF0000103 (IoT Hub)
Not erasing ObjId=0xF0000101 (IoT Hub)
Not erasing ObjId=0xF0000122 (IoT Hub)
Not erasing ObjId=0xF0000120 (IoT Hub)
Not erasing ObjId=0xF0000112 (IoT Hub)
Not erasing ObjId=0xF0000110 (IoT Hub)
Not erasing ObjId=0xF0000102 (IoT Hub)
Not erasing ObjId=0xF0000100 (IoT Hub)
Not erasing ObjId=0xF0000011 (IoT Hub)
Not erasing ObjId=0xF0000010 (IoT Hub)
Not erasing ObjId=0xF0000013 (IoT Hub)
APDU :DEBUG:ReadCryptoObjectList []
APDU :DEBUG:DeleteCryptoObject [], id: 0x1c
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0x1C
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=001C
APDU :DEBUG:DeleteCryptoObject [], id: 0xab
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0xAB
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=00AB
APDU :DEBUG:DeleteCryptoObject [], id: 0xddd3
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0xDDD3
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=DDD3
APDU :DEBUG:DeleteCryptoObject [], id: 0xddd2
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0xDDD2
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=DDD2
APDU :DEBUG:DeleteCryptoObject [], id: 0xddd1
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0xDDD1
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=DDD1
APDU :DEBUG:DeleteCryptoObject [], id: 0xf
APDU :DEBUG:kSE05x_TAG_1 [cryptoObjectID] = 0xF
sss :ERROR:(0x6985) Conditions not satisfied .At Line:658 Function:se05x_DeCrypt
sss :WARN :nxEnsure:'ret == SM_OK' failed. At Line:5723 Function:sss_se05x_TXn
Error in erasing CryptoObject=000F
App :ERROR:Failed Se05x_API_DeleteAll: 27013
sss_se05x_session_close
Thanks,
Moriya