Signature Verification
Function
Used to query the validity of a file. The signature is verified to ensure that the software is not maliciously tampered with. If a parameter that is not in Parameter Description is executed, a message that contains correct parameters to be selected is returned.
Syntax
ascend-cert <cmspath> <filepath> <crlpath>
Parameter Description
Type |
Description |
|---|---|
cmspath |
CMS file path. The path of a single file contains a maximum of 1024 characters. |
filepath |
Installation package path. The path of a single file contains a maximum of 1024 characters. |
crlpath |
CRL file path. The path of a single file contains a maximum of 1024 characters. |
The Ascend-Cert executable file is stored in {toolbox_installation_directory}/toolbox/latest/Ascend-DMI/bin.
Example
ascend-cert A300-3000-3010-npu_21.0.3.b030_linux-aarch64.zip.cms A300-3000-3010-npu_21.0.3.b030_linux-aarch64.zip A300-3000-3010-npu_21.0.3.b030_linux-aarch64.zip.crl
The output is as follows:
verify succeed. VerifyCmsFile:true