trusthub sign

Sign messages and files with your TrustAgent ML-DSA identity. Produces post-quantum signatures that include the signer DID, algorithm, and key fingerprint.

Commands

CommandDescription
trusthub sign messageSign a text message or file with an agent identity

Usage

# Sign inline text
trusthub sign message --text "hello world"

# Sign a file
trusthub sign message --input message.txt

Options

OptionDescription
--textText string to sign
--inputPath to file to sign

Output

On success the CLI prints the signer DID, algorithm (ML-DSA-65), key fingerprint, and signature length in bytes.

Message signed successfully!
  DID:         did:trusthub:cli-user:abc123...
  Algorithm:   ML-DSA-65
  Fingerprint: 3a9f...
  Sig length:  3309 bytes