1029061_en-US

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

1029061_en-US

1029061_en-US

Verifying images in HAB in Linux or OPTEE

Hi, I'm trying to work on an update procedure on an IMX6UL that checks to see if an image will pass the HAB check before updating the images. I'm having trouble accessing the boot ROM from OPTEE so I need to re-implement the authentication function in as a TA in OPTEE or failing that as a regular Linux application, similar to the uboot command hab_auth_img. Is there any code available for this? Is there a way to make the CST do this?

i.MX6ULSecurityRe: Verifying images in HAB in Linux or OPTEE

We also have the requirement to perform kernel signature verification within OP-TEE. Could you provide the methodology and an implementation (code) for this?

thanks

Re: Verifying images in HAB in Linux or OPTEE

@gcornacchia 
Hello,

  There is no the hab checking in  userspace.

Regards,
Yuri.

Re: Verifying images in HAB in Linux or OPTEE

Hi Yuri,

I'm trying to use hab checking function for imxull in kernel userspace is there any implementation?

Can you share your considerations?


What I would like to achive is a signature checking


thank you

Re: Verifying images in HAB in Linux or OPTEE

Hello,

 

  I've sent You directly some considerations.

Have a great day,

Yuri

 

 

-------------------------------------------------------------------------------

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.

Re: Verifying images in HAB in Linux or OPTEE

Hi, is there any solution this? This seems like a fairly common use case that will stop people bricking their devices.

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 02:18 AM
Updated by: