如何对ISO磁盘镜像文件进行签名?

问题描述 投票:0回答:1

我正在尝试使用 Microsoft SignTool.exe 对 .iso(磁盘映像文件)文件类型进行签名。 但是signtool抛出错误

Done Adding Additional Store
SignTool Error: This file format cannot be signed because it is not recognized.
SignTool Error: An error occurred while attempting to sign: C:\isofiles\myiso.iso

我用来签署 .iso 文件的命令:

signtool sign /f "C:\certificate\digicert.pfx" /p certpassword /fd SHA256 /t timestampurl 'C:\isofiles\myiso.iso'

有人可以建议如何签署 .iso 文件类型吗?

disk signtool
1个回答
0
投票

无法直接使用 SignTool 对

.iso
文件进行签名,因为它旨在对可执行文件(如
.exe
.dll
)以及某些类型的脚本和文档文件进行签名,但不适用于
.iso
文件。 ISO 文件没有像可执行文件那样支持嵌入式数字签名的结构。

© www.soinside.com 2019 - 2024. All rights reserved.