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
| Command | Description |
|---|---|
| trusthub sign message | Sign 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.txtOptions
| Option | Description |
|---|---|
| --text | Text string to sign |
| --input | Path 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