Releases: HanGYvv/YTMSignTool
Releases · HanGYvv/YTMSignTool
Release list
v0.1.1
[0.1.1] - 2026-04-13
Added
preparesubcommand: generate HCU AES key programming firmware from a keys JSON file and a built-in Intel HEX template (images/prepare.hex).preparepipeline: locatehcu_user_keysregion, patch key rows, ciphertext slots, and max slot; optional custom template path; output path and Intel HEX / Motorola SREC format selection.- Unit tests covering the prepare flow.
Removed
- Legacy stock HEX filenames under
images/(replaced by the singleprepare.hextemplate).
新增
prepare子命令:根据密钥 JSON 与内置 Intel HEX 模板(images/prepare.hex)生成 HCU AES 密钥烧录固件。prepare流程:定位hcu_user_keys区,修补密钥行、密文槽位与最大槽位;可选自定义模板;可指定输出路径与 Intel HEX / Motorola SREC 格式。- 针对 prepare 流程的单元测试。
移除
images/下旧版示例 HEX 文件名(统一为单一prepare.hex模板)。
v0.1.0
[0.1.0] - 2026-04-12
Added
- CLI for YTM32 secure boot:
sign,verify,keygen,info,convert. - Intel HEX, Motorola S19/SREC, and raw BIN; parses the BVT and secure-boot section metadata, AES-CMAC per section, writes signatures back into the image.
- Hardware: YTM32B1ME05 series.
- Keys described in JSON (
keygenfrom firmware with BVT or an empty 32-slot template). - GitHub Actions:
ci.yml(build & tests),release.yml(onv*tags: Linux musl tarball and Windows executable).
After you publish the matching git tag, binaries and notes appear on the GitHub Releases page.
新增
- 面向 YTM32 安全启动的命令行:
sign、verify、keygen、info、convert。 - 支持 Intel HEX、Motorola S19/SREC、原始 BIN;解析 BVT 与安全启动段元数据,按段 AES-CMAC 签名并写回镜像。
- 适配硬件:YTM32B1ME05 系列。
- 密钥以 JSON 描述(
keygen可从带 BVT 的固件或 32 槽位空模板生成)。 - GitHub Actions:
ci.yml(构建与测试)、release.yml(v*标签发布 Linux musl 压缩包与 Windows 可执行文件)。