Decrypt File (OpenSSL) task

Azure DevOps Services

Use this task to decrypt files using OpenSSL.

YAML snippet

# Decrypt file (OpenSSL)
# Decrypt a file using OpenSSL
- task: DecryptFile@1
  inputs:
    #cipher: 'des3' 
    inFile: 
    passphrase: 
    #outFile: # Optional
    #workingDirectory: # Optional

Arguments

Argument Description
cipher
Cypher
(Required) Encryption cypher to use. See cypher suite names for a complete list of possible values
Default value: des3
inFile
Encrypted file
(Required) Relative path of file to decrypt.
passphrase
Passphrase
(Required) Passphrase to use for decryption. Use a Variable to encrypt the passphrase.
outFile
Decrypted file path
(Optional) Optional filename for decrypted file. Defaults to the Encrypted File with a ".out" extension
cwd
Working directory
(Optional) Working directory for decryption. Defaults to the root of the repository
Argument aliases: workingDirectory

Open source

This task is open source on GitHub. Feedback and contributions are welcome.