UPEA tool syntax and parameters
UPEA syntax
The syntax of the UPEA tool is detailed in the following section:
UpdatePasswordEncryptionAlgorithm
-Mode [CA|CK]
-AlgorithmName [AES|PBKDF2]
-ProviderName BC
-ProviderClass org.bouncycastle.jce.provider.BouncyCastleProvider
-Username <OpenPagesAdministrator>
-Password <OpenPagesAdministrator password>
[-KeySize 128|256]
[-TempPassword <password>]
[-?]
Note the following recent name changes:
- bcprov-jdk14-145.jar is bcprov-jdk15to18-1.nn.jar in 8.2.0.2 or later
- org.bouncycastle145.jce.provider.BouncyCastleProvider is org.bouncycastle.jce.provider.BouncyCastleProvider in 8.2.0.2 or later
- CAMCryptoBC is BC in 8.2.0.2 or later
The following table describes the parameters of the UPEA tool.
| Parameter | Description |
|---|---|
| -Mode | Required. Use to specify the mode in which the tool should
run. Possible modes are:
|
| -AlgorithmName | Required. Use to specify the type of encryption algorithm to use. The valid values are |
| -ProviderName | Required. Has only one valid value:
|
| -ProviderClass | Required. Has only one valid value:
|
| -Username | Required. Use to specify the user name to use when you modify the user passwords. Must be the same as the user specified in the Platform|Security|Password|Encryption| Encryption Administrator setting. |
| -Password | Required. Use to specify the password of the Encryption Administrator account. |
| -KeySize | Optional. Use to specify the length of the encryption key. For PBKDF2, the only valid value is 256. For AES, the only valid value is 128. |
| –TempPassword | Sets a temporary password for users. When users next log in, they must use this temporary password, and then set a new password. |
| -? | Optional. Displays the on-screen help for the UPEA tool. |