Home >

package update

Update an existing secure package on the SafeNet appliance. All packages from SafeNet are signed and encrypted and come with an authcode that must be provided to decrypt and use the package. Use this command to update packages that can be seen when using the “package listfile” command. You can verify a package with the “package verify” command.

It is strongly recommended that your SafeNet appliance be connected to an Uninterruptable Power Supply (UPS) when you run this command. There is a small chance that a power failure during the update command could leave the SafeNet appliance  in an unrecoverable condition.

If a version of this package is already installed, an error occurs, for example:

Command failed: RPM update for original filename (fwupK6_real-6.0.9-RC1.i386.rpm)

Note:  You might need to log into the HSM before you run this command.  

Syntax

package update <filename> -authcode <authcode> [-des3] [-useevp]

Parameter Shortcut Description
-authcode -a Specifies the secure package authorization code provided by SafeNet with the secure package. The authorization code is checked during package installation to ensure that the package was encrypted and signed by SafeNet.
-des3 -d Use DES3 Cipher for backward compatibility with older secure package updates.

-useevp -u Use the OpenSSL EVP (Digital EnVeloPe library) API to decrypt and 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. https://jirahsm.safenet-inc.com:8443/browse/SPCD-5   
<filename>  

Specifies the name of the package to update. The new version of the package must have been transferred to the SafeNet appliance using scp.

Example

lunash:>hsm login
Please attend to the PED...
Command Result : 0 (Success)
 
lunash:>package update fwupK6_real-6.10.9.spkg -authcode pHLJtJ7/xJXS/FFK
Command succeeded:  decrypt package
Command succeeded:  verify package certificate
Command succeeded:  verify package signature
Preparing packages for installation...
fwupK6_real-6.10.9
Command Result : 0 (Success)