Decrypt
Decrypt a file encrypted with PGP
yaml
type: "io.kestra.plugin.crypto.openpgp.Decrypt"
Decrypt a file
yaml
id: crypto_decrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: decrypt
type: io.kestra.plugin.crypto.openpgp.Decrypt
from: "{{ inputs.file }}"
privateKey: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
privateKeyPassphrase: my-passphrase
Decrypt a file and verify signature
yaml
id: crypto_decrypt
namespace: company.team
inputs:
- id: file
type: FILE
tasks:
- id: decrypt
type: io.kestra.plugin.crypto.openpgp.Decrypt
from: "{{ inputs.file }}"
privateKey: |
-----BEGIN PGP PRIVATE KEY BLOCK-----
privateKeyPassphrase: my-passphrase
signUsersKey:
- |
-----BEGIN PGP PRIVATE KEY BLOCK-----
requiredSignerUsers:
- [email protected]
Dynamic YES
The file to crypt
Dynamic YES
The private key to decrypt
Must be an ascii key export with gpg --export-secret-key -a
Dynamic YES
The passphrase use to unlock the secret ring
SubType string
Dynamic YES
The list of recipients the file will be generated.
SubType string
Dynamic YES
The public key use to sign the files
Must be an ascii key export with gpg --export -a
Format uri
The decrypted files uri