decrypt-file command

The decrypt-file command returns an encrypted file back to its original unencrypted format.

Note:
  • To use this command, the OpenSSL libraries must be installed on your system (for Linux, the 32 bit OpenSSL libraries are required). If this command is run on a system without OpenSSL, the current process will stop, return to TCL, and the message Encryption libraries are not loaded will be displayed.

  • For Windows Only: The OpenSSL libraries must be present when restoring a save that contains encrypted data. Otherwise the restore process will terminate.

Syntax

decrypt-file filename{,data-file}

Parameter(s)

filename Name of the file on which to remove encryption. To remove encryption, you must be logged into the account in which the specified file exists.
data-file (Optional) Specifies which data-file in the file to decrypt. If not specified, the default data-file is decrypted.

Example(s)

The example below decrypts the accounting file.

decrypt-file accounting
File successfully decrypted.

The example below decrypts only the purchases data-file of the accounting file.

decrypt-file accounting,purchases
File successfully decrypted.