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

Reply via email to