Sdílet prostřednictvím


DecryptFile@1 - Decrypt file (OpenSSL) v1 task

A thin utility task for file decryption using OpenSSL.

Inputs

cipher - Cypher
string. Required. Default value: des3.

The encryption cypher to use. See cypher suite names for a complete list of possible values.


inFile - Encrypted file
string. Required.

The relative path of the file to decrypt.


passphrase - Passphrase
string. Required.

The passphrase to use for decryption. Use a variable to encrypt the passphrase.


outFile - Decrypted file path
string.

The optional filename for the decrypted file. Defaults to the encrypted file with an .out extension.


workingDirectory - Working directory
Input alias: cwd. string.

The optional working directory for decryption. Defaults to the root of the repository.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Remarks

Use this task to decrypt files using OpenSSL.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Utility