Overview
This node performs PGP (Pretty Good Privacy) cryptographic operations such as signing messages. Specifically, the 'Sign' operation allows users to digitally sign text or binary data using a private key, ensuring message authenticity and integrity. This is useful in scenarios where secure communication or data verification is required, such as signing emails, documents, or files to prove their origin and prevent tampering.
Use Case Examples
- Signing a plain text message to verify its origin.
- Signing a binary file to ensure it has not been altered during transmission.
Properties
| Name | Meaning |
|---|---|
| Input Type | Specifies whether the input to be signed is plain text or binary data. |
| Message | The text message to be signed. This property is used only when the input type is 'Text'. |
| Binary Property Name | The name of the binary property containing the data to be signed. This property is used only when the input type is 'Binary'. |
Output
JSON
signature- The generated PGP signature for the input message or binary data.
Dependencies
- Requires PGP private key credentials for signing operations.
Troubleshooting
- Error if the private key is missing or invalid: Ensure the private key is provided and correctly formatted.
- Error if the binary property is missing when input type is binary: Verify the binary property name is correct and the binary data exists.
- General cryptographic errors: Check that the input data and keys are valid and compatible.