PGP icon

PGP

PGP Node

Sign

AI-generated

Overview

This node performs PGP signing operations on input data, either text or binary. It is useful for scenarios where data integrity and authenticity need to be ensured by generating a cryptographic signature using a private key. For example, signing a message before sending it to verify the sender's identity or signing a file to ensure it has not been tampered with.

Use Case Examples

  1. Signing a plain text message to generate a PGP signature.
  2. Signing a binary file to produce a PGP signature file.

Properties

Name Meaning
Input Type Specifies whether the input data to be signed is plain text or binary data.
Message The plain text message to be signed. Only applicable if Input Type is Text.
Binary Property Name The name of the binary property containing the data to be signed. Only applicable if Input Type is Binary.

Output

Binary

Outputs the generated PGP signature as a binary file when signing binary data.

JSON

  • signature - The generated PGP signature string when signing text data.

Dependencies

  • Requires PGP private and public keys and optionally a passphrase for the private key, provided via credentials.

Troubleshooting

  • Common errors include invalid private or public keys, which will cause the node to throw errors indicating the keys are not valid.
  • If the specified binary property is missing or the binary data is not present, the node will throw an error indicating the missing binary property.
  • Errors during signing operations will be thrown and can be caught if 'Continue On Fail' is enabled.

Discussion