npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@xzcutable/n8n-nodes-pgp

v2.1.0

Published

An imporved version of hapheus' original n8n-nodes-pgp. Enables seamless integration of PGP encryption functionalities into n8n workflows. Create keys, encrypt, decrypt, sign, and verify messages effortlessly. Perfect for secure data handling in automated

Downloads

15

Readme

Banner image

n8n-nodes-pgp

This is an n8n community node branched from hapheus. It intergrates OpenPGP encryption and decryption into your n8n workflows.

OpenPGP is a standard for encryption and signing of data.

n8n is a fair-code licensed workflow automation platform.

Table of Contents

Changes

  • This version of the node simplfies and streamlines encyption and decyption. Before, signing was a separate file/output, since he has added support to bake into the encryption, but here it is by default with added support for dettached signing keys.
  • Removed singing, X-encrypt/decrypt-verify, and verify only options. Now there is just encypt, decrypt, and create.
  • Added support for key generation: create.
  • Added support for remotely hosted public and private keys. Also changed pgp to be treated like passwords in credentials.
  • Added partial credential support (i.e. only filling in a public or private key). Will let user know if a key is missing only if the operation they are performing needs that key.

Operations

  • Encrypt: Encrypts text or binary files using a public key. Binary files can be compressed before encryption.
  • Decrypt: Decrypts text or binary files using a private key. Compressed files are automatically decompressed after decryption.
  • Create: Creates a pair of PGP public and private key files in plaintext. Be sure to save this if you use them.

Credentials

To authenticate with this node, you need to provide the following credentials:

  • Passphrase: The passphrase for the private key.
  • Public Key: Armored public key for encryption and verification or a url pointed to where the file can be obtained.
  • Private Key: Armored private key for decryption and signing or a url pointed to where the file can be obtained.

Notes when creating credentials

  • You can create partial credentials (feel in only private or public key), but will receive an error if you try to perform an operation that requires a certain key. The error will tell you which one.
  • If you are familiar with PGP encryption, then you probably already know this. When creating credentials, you can use your own Public and Private key, if you will only be sending and encrypting messages to yourself. If, however, you'd like to send a message to someone, you will need their public key to encrypt message. You would also need their public key if you want to verify the message you received was from them (or at least verify they have access to the private key for the public key you have). That's why credentials are as felxible as they are so that you could potential create multiple credentials depending how you will use it. PGP assumes both parties keep their private key private, and both have access to the public key. Signing will use the credentials private key, and verifying will use the credentials public key.

Resources

Screenshots

Remote Manual

Encrypt

Decrypt

Create

Installation

Follow the installation guide in the n8n community nodes documentation.

Versioning X.Y.Z

X - The main version, this probably wont change unless major, potentially breaking changes are made. Y - When features are added or removed. This will typically only be additive. Z - Small fixes, such as typos. Shouldn't break anything, unless the variable itself was mispelled. But this will typically be documentaion.