activities
latest
false
- Overview
- Cryptography
- Database
- Java
- Python
- WebAPI
Developer activities
UiPath.Cryptography.Activities.PgpSignFile
Description
Creates a PGP binary signature of a file using a private key. The signed output contains the original data and the signature. To verify it later, use the PGP Verify activity with the Signed File (Binary) verification type.
This activity produces a binary OpenPGP signature. For a text-friendly armored signature that embeds the plaintext, use the PGP ClearSign File activity instead.
Project compatibility
Windows | Cross-platform
Windows, Cross-platform configuration
- Input File Path - The path to the file that you want to sign. This field supports only strings and
Stringvariables. To use a project resource instead of a path, select the field's input menu and switch to the Input File input (anIResource). - Private Key File Path - The path to your PGP private key file, used to sign the data. This field supports only strings and
Stringvariables. To use a project resource instead of a path, select the field's input menu and switch to the Private Key File input (anIResource). - Output File Path - The full path where the signed file is saved. This field supports only strings and
Stringvariables. - Passphrase - The passphrase that unlocks the private key. To provide it as a secure string instead of plain text, select the field's input menu and switch to the Passphrase (Secure) input (a
SecureString).
Advanced options
Options
- Overwrite - If a file already exists at the output path, this overwrites it. This field only supports Boolean values (
True,False). The default value isFalse. - Continue On Error - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (
True,False). The default value isFalse. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set toTrue, the execution of the project continues regardless of any error.Note:If this activity is included in Try Catch and the value of the Continue On Error property is
True, no error is caught when the project is executed.
Output
- Signed File - A resource handle to the signed file that was written, stored in an
ILocalResourcevariable for use in other activities. The signed bytes are also written to the Output File Path.