@azerax/n8n-nodes-pgp-encode-only
v1.0.5
Published
Encrypt-only n8n PGP community node. Public-key encryption for text and binary files, with no private key, passphrase, signing, decrypting, verifying, or key generation paths.
Maintainers
Readme
n8n PGP Encrypt Only Node
This fork is intentionally reduced to one job: encrypt text or binary data with a recipient PGP public key.
Why this fork exists
The original node supported creating keys, decrypting, signing, verifying, private keys, passphrases, and detached signatures. For batch upload workflows such as encrypting a CSV before SFTP upload, those options add unnecessary failure points.
This fork removes those paths and keeps only public-key encryption.
Supported
- Encrypt text
- Encrypt binary files
- Manual recipient public key
- Recipient public key from URL
- Optional pre-encryption binary compression
- Encrypted binary output as
datafor SFTP upload nodes
Not supported
- Private keys
- Passphrases
- Decryption
- Signing
- Signature verification
- Detached signatures
- Key generation
Recommended binary setup
For downloaded files, use:
Input Type: Binary
Binary Property Name: data
Output Binary Property Name: data
Compression Algorithm: UncompressedThen point your SFTP node at binary property:
dataPublic key handling
The node normalizes common public-key formatting problems before parsing:
- literal
\nfrom JSON/env copy-paste - Windows CRLF line endings
- accidental surrounding quotes
- extra text around the armored public key block
- common missing blank line after the BEGIN header
The key must still be a valid encryption-capable PGP public key. This node does not bypass OpenPGP cryptographic requirements; it only removes unnecessary private-key/signing/decryption logic.
