LPT26x-HSF-4MB-Hilink_14.2..../build/config/target_config/ws63/sign_encry
2025-05-13 22:00:58 +08:00
..
config 初始提交 2025-05-13 22:00:58 +08:00
build_ota_img.py 初始提交 2025-05-13 22:00:58 +08:00
build_ota_pkt.py 初始提交 2025-05-13 22:00:58 +08:00
efuse_cfg_gen.py 初始提交 2025-05-13 22:00:58 +08:00
encryptandsign.sh 初始提交 2025-05-13 22:00:58 +08:00
gen_all_key.sh 初始提交 2025-05-13 22:00:58 +08:00
lzma_tool 初始提交 2025-05-13 22:00:58 +08:00
packet_allinone.py 初始提交 2025-05-13 22:00:58 +08:00
packet_create.py 初始提交 2025-05-13 22:00:58 +08:00
Readme.txt 初始提交 2025-05-13 22:00:58 +08:00
sign_tool_pltuni 初始提交 2025-05-13 22:00:58 +08:00
tool_security 初始提交 2025-05-13 22:00:58 +08:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=========================================================
加密加签命令:./encryptandsign.sh 【参数1】 【参数2】 【参数3】

一、脚本参数说明:
【参数1】输入文件待加密加签文件, 编译后生成烧写包位于output/ws63/pktbin.zipota升级包位于output/ws63/upgrade/ota_pktbin.zip
【参数2】输出目录加密加签后打包结果输出
【参数3】输入文件类型all烧写包ota:升级包

=========================================================
二、sign_encry中目录或文件说明
1)./ 加密加签工具所在目录,所有的加密加签工具、程序、脚本、都在此目录;
tool_security    flash秘钥派生工具
sign_tool_pltuni 签名加密工具
2)./config/sign签名、flash加密配置文件和秘钥其中
ec_bp256_oem_root_public_key.pem 为根公钥用于安全启动特性生成hash值在root_pubk.bin.hash中
ec_bp256_oem_root_private_key.pem为根私钥用于安全启动特性镜像签名flashboot.bin
其它为多级秘钥
3)./config/otafota升级包头配置文件和工具秘钥配置路径

=========================================================
三、一键随机生成所有秘钥 (慎用,生成后会覆盖上次所有秘钥)
1.生成秘钥命令
cd ./sign_encry
./gen_all_key.sh