Saves the old encryption key file, and generates a new encryption key file.
changekey --enkfile file_name --output_enkfile new_file_name [--random_seed number]
Argument |
Datatype |
Default value |
Description |
---|---|---|---|
* enkfile |
string |
Existing encryption key file; must be readable. |
|
* output_enkfile |
string |
Encryption key file to create; must be writable. |
|
random_seed |
integer |
An integer to use as a random seed. |
Return value |
Indicates |
---|---|
0 |
The command ran successfully; the result is true/success. |
1 |
The command failed. |
This command line example saves the existing encryption key file (.enk) and creates a new encryption key file (.enk2) in the C:\Sybase\Security directory:
securetool changekey --enkfile C:\Sybase\Security\.enk --output_enkfile C:\Sybase\Security\.enk2