POLICY_OBJ_ALLOW_DELETE and Reset

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

POLICY_OBJ_ALLOW_DELETE and Reset

Jump to solution
2,110 Views
psvz
Contributor III

Hi

If I attached POLICY_OBJ_ALLOW_DELETE = False to a key object - would it help to preserve it over ssscli se05x reset?

Labels (1)
0 Kudos
Reply
1 Solution
2,099 Views
psvz
Contributor III

Hi Kan

I am trying to achieve the opposite effect. I want a key that I have provisioned to stay in secure element forever and couldn't be deleted - same way as NXP keys and certificates. Is it possible?

View solution in original post

0 Kudos
Reply
5 Replies
2,053 Views
psvz
Contributor III

Se05x_API_DeleteAll() fails if I open session with kSSS_AuthType_None. Do you know if session with kSSS_AuthType_SCP03 would work? any working demo using Se05x_API_DeleteAll()?

0 Kudos
Reply
2,050 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

Actually this command can only be used in the session authenticated using the
credential with index RESERVED_ID_FACTORY_RESET, and this Auth ID might be not available in your device, but you may provision it with the help of ssscli tool. 

Please kindly refer to https://www.nxp.com/webapp/Download?colCode=AN12543 for more details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
2,103 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

Yes, you can do that, and usually we set up POLICY_OBJ_ALLOW_DELETE = True for some Auth ID to a key object so that you may still perform the deletion in some cases.

 

Hope that makes sense,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
2,100 Views
psvz
Contributor III

Hi Kan

I am trying to achieve the opposite effect. I want a key that I have provisioned to stay in secure element forever and couldn't be deleted - same way as NXP keys and certificates. Is it possible?

0 Kudos
Reply
2,063 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @psvz ,

 

No , I don't think it is possible, you know, the DeleteAll command may delete all secure objects which are not trust provisioned by NXP.

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply