VerifySignature
PGP Task for verifying signature.
Last updated
Was this helpful?
PGP Task for verifying signature.
Task version: 1.1.0
Required Frends version: 5.7+
Required .NET version: 8.0
Compatible Agents: Crossplatform
FilePath : String
Path to the original file (for detached signature) or signed file (for attached signature).
Default: -
Example: C:\temp\message.txt
IsDetachedSignature : Boolean
Whether the signature is detached (separate .sig file) or attached (signature embedded in signed file).
Default: True
Example: true
SignatureFilePath : String
Path to the detached signature file. Required only when IsDetachedSignature is true.
Default: -
Example: C:\temp\message.txt.sig
PublicKey : String
Public key file path or ASCII-armored public key content.
Default: -
Example: C:\temp\publickey.asc
UseFileKey : Boolean
If true, PublicKey is treated as a file path. If false, treated as raw key string.
Default: True
Example: true
SignatureBufferSize : Int32
Buffer size in KB for reading the file during signature verification
Default: 16
Example: 16
ThrowErrorOnFailure : Boolean
Whether to throw an error on failure.
Default: True
Example: true
ErrorMessageOnFailure : String
Overrides the error message on failure.
Default: -
Example: Custom error message
Success : Boolean
Indicates if the task completed successfully.
Example: true
IsValid : Boolean
Indicates whether the signature is valid.
Example: true
SignerKeyId : String
Key ID that was used for signing (in hexadecimal format).
Example: A1234B5678...
Error : Error
Error that occurred during task execution.
Example: object { string Message, Exception AdditionalInfo }
Changelog for Task Frends.Pgp.VerifySignature.
Ensure FrendsTaskMetadata.json is included in NuGet package
Initial implementation
Last updated
Was this helpful?
Was this helpful?

