package verify
Verifies that the specified package is from Thales, and that the provided authcode is correct.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
package verify <package_name> -authcode <authcode> [-des3] [-useevp]
Option |
Shortcut | Description |
---|---|---|
<filename> | . | The name of the package file to verify. |
-authcode <authcode> | -a | Specifies the secure package authorization code provided by Thales with the secure package - the authorization code is checked during package verification to ensure that the package was encrypted and signed by Thales. |
-des3 | -d | Use DES3 Cipher for backward compatibility with older secure package updates (cannot be used simultaneously with -useevp). |
-useevp | -u | Use the OpenSSL EVP (Digital EnVeloPe library) API to validate the update package in appliance software without need for HSM SO login. If this option is not specified, the default action is to refer update verification to the HSM (cannot be used simultaneously with -des3). |
Example
lunash:>package verify lunasa_update-7.1.0.spkg -authcode 5/Rd79MAGd/G9EY5 Command succeeded: decrypt package Command succeeded: verify package certificate Command succeeded: verify package signature Preparing packages... Command Result : 0 (Success)