Decrypt Decrypt

yaml
type: "io.kestra.plugin.crypto.openpgp.Decrypt"

Decrypt a file crypted with PGP

Examples

Decrypt a file

yaml
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: "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]

Properties

from

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: ❌

The file to crypt

privateKey

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: ❌

The private key to decrypt

Must be an ascii key export with gpg --export-secret-key -a

privateKeyPassphrase

  • Type: string
  • Dynamic: βœ”οΈ
  • Required: ❌

The passphrase use to unlock the secret ring

requiredSignerUsers

  • Type: array
  • SubType: string
  • Dynamic: βœ”οΈ
  • Required: ❌

The list of recipients the file will be generated.

signUsersKey

  • Type: array
  • SubType: string
  • Dynamic: βœ”οΈ
  • Required: ❌

The public key use to sign the files

Must be an ascii key export with gpg --export -a

Outputs

uri

  • Type: string
  • Dynamic: ❓
  • Required: ❌
  • Format: uri

The decrypted files uri

Was this page helpful?