For the complete documentation index, see llms.txt. This page is also available as Markdown.

VerifySignature

PGP Task for verifying signature.

Task version: 1.1.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

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

Name
Description

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

Task Result

Name
Description

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 }

Task Changelog

Changelog for Task Frends.Pgp.VerifySignature.

[1.1.0] - 2026-02-23

Fixed

  • Ensure FrendsTaskMetadata.json is included in NuGet package

[1.0.0] - 2026-01-12

Added

  • Initial implementation

Last updated

Was this helpful?