How to make u-boot verify script signature in FIT image

2 Oct
2020
2 Oct
'20
12:44 p.m.
Hi there,
I have a script in FIT image, I want to verify its signature before running it. When I run "source" command, it doesn't check the signature, only hash@1.
images { ... script { description = "Script"; data = /incbin/("script.txt"); type = "script"; compression = "none"; hash@1 { algo = "crc32"; }; signature { algo = "sha256,rsa4096"; }; }; }
How to make u-boot verify the script before running it? Is it possible to auto run the script when boot a configuration from a FIT image?
Thank you
Cheers, Andy
1680
Age (days ago)
1680
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrii Voloshyn