任何人都知道为什么如果我在命令提示符下使用 sigverif, powershell 中的 get-authenticicodesignature 总是将 .dll 或 .exe 文件显示为NotSigned,而它显示为已签名。
sigverif 输出
File Modified Version Status Catalog Signed By
------------------ ------------ ----------- ------------ ----------- -------------------
[c:\windows\system32]
batt.dll 7/14/2009 2:6.1 Signed nt5.cat Microsoft Windows
PowerShell 输出:
PS> get-authenticodesignature C:\Windows\System32\batt.dll
Directory: C:\Windows\System32
SignerCertificate Status Path
----------------- ------ ----
NotSigned batt.dll