Svb Configs [SAFE]
json.dump(config, open("svb_config.json","w"))
# make_svb_config.py import json, hashlib with open("spl.hash") as f: spl_hash = f.read().split()[0] svb configs
cat > svb_manifest.yaml << EOF root_of_trust: key: /secure/root_key.pem algorithm: rsassa-pss stages: - name: spl path: spl.bin - name: uboot path: u-boot.bin EOF "w")) # make_svb_config.py import json
A: Typically 4KB to 64KB, depending on boot ROM constraints. "rb").read()).hexdigest() sha256sum spl.bin >
A: Requires flashing a new bootloader that supports verification. Do in recovery mode with signed images only.
config = "rollback_index": 1, "spl_digest": spl_hash, "uboot_digest": hashlib.sha256(open("u-boot.bin","rb").read()).hexdigest()
sha256sum spl.bin > spl.hash sha256sum u-boot.bin > uboot.hash