---
title: "PGP Module"
slug: "pgp"
description: "This document discusses how to use the PGP (Pretty Good Privacy) Module Steps in Decisions. Using the module will allow the user the ability to encrypt and decrypt files and strings, as well as the ability to sign, verify and clear files, from within Decisions."
updated: 2025-10-29T14:48:28Z
published: 2025-10-29T14:48:28Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PGP Module

| ## Module Details |
| --- |
| **Core or GitHub Module** | Core Module |
| **Restart Required** | No |
| **Steps Exposed** | Yes |
| **Step Location** | Integration > PGP |
| **Prerequisites** | - [Install](https://documentation.decisions.com/docs/installing-modules-decisions)the PGP Module - A [Project dependency](https://documentation.decisions.com/docs/project-dependencies) is required. |

## Overview

The**PGP (Pretty Good Privacy)****Module** provides the ability to encrypt and decrypt various types of data, like texts, emails, and files, using PGP Encryption. PGP combines two types of encryption: one that uses a secret key for encryption and decryption, and another that uses a pair of keys, one public and one private. Each message is encrypted using a secret key that is used only once. The encrypted message and its secret key are sent to the recipient, who can then decrypt the message. The recipient's public key is used to protect the message during transmission. The encrypted key can only be decrypted using the secret key. PGP can also digitally sign files to prove they are authentic. Users sign files with their private key and verify them using the signature.

## Prerequistes

The PGP Module installation will be needed to access the steps below. To learn to install a module, see [Installing Modules in Decisions](https://documentation.decisions.com/v9/docs/installing-modules-decisions). 

## Considerations

**The PGP Module cannot be used to generate PGP public and private keys. The PGP Module may be used for building workflows to encrypt or decrypt messages or files. Therefore, public and private keys should be generated with third-party systems.**

- **Public Key:** locks the message and converts the key into an encrypted file.
- **Private Key:** Unlocks the encrypted file key and converts the message back into plain text.

Note for Third-Party Systems and SubscriptionsCustomers are responsible for securing and maintaining accounts with third-party systems and subscriptions.

---

## Steps

Installing the PGP Module adds the following steps:

| Name | Description |
| --- | --- |
| [Clear Sign File](https://documentation.decisions.com/step-library/docs/clear-sign-file) | Allows users to sign a file digitally but keep the file contents in plain PGP text. |
| [Decrypt and Verify File](https://documentation.decisions.com/step-library/docs/decrypt-and-verify-file) | Allows a user to decrypt a PGP file that has been digitally signed. |
| [Decrypt File](https://documentation.decisions.com/step-library/docs/decrypt-file) | Users sets a file to be decrypted. |
| [Decrypt String](https://documentation.decisions.com/step-library/docs/pgp-decrypt-string) | Allows a string to be decrypted. The Private Key Password must be entered as a constant in the input for the step to work. |
| [Encrypt File](https://documentation.decisions.com/step-library/docs/encrypt-file) | User sets a file to be encrypted. |
| [Encrypt String](https://documentation.decisions.com/step-library/docs/pgp-encrypt-string) | Allows a string to be encrypted and a Public Key to be assigned to it. |
| [Sign File](https://documentation.decisions.com/step-library/docs/sign-file) | Uses a PGP Private Key and Private Key Password to sign a file. The [Decrypt File](https://documentation.decisions.com/step-library/docs/decrypt-file ) or [Decrypt and Verify File](https://documentation.decisions.com/step-library/docs/decrypt-and-verify-file ) step is needed to decrypt the file to be read. |
| [Sign and Encrypt File](https://documentation.decisions.com/step-library/docs/sign-and-encrypt-file ) | Allows a user to sign a file and encrypt it. |
| [Verify File](https://documentation.decisions.com/step-library/docs/verify-file ) | Uses the specified public key to determine whether the input files has an authentic digital signature. |
