decrypt_attachment
Decrypt a locally stored Signal attachment using the encrypted file path and decryption key from message metadata, returning the path to the decrypted file.
Instructions
Decrypt a locally stored Signal attachment and return the path to the decrypted file.
The encrypted_path and local_key values come from attachment metadata in read_messages or search_messages results. Read-only on Signal data; writes a decrypted copy to a temporary directory. Use this after reading messages that contain attachments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encrypted_path | Yes | Absolute filesystem path to the encrypted attachment file, as returned in the 'encrypted_path' field of message attachment metadata. | |
| local_key | Yes | Base64-encoded 64-byte key (32-byte AES-CBC + 32-byte HMAC-SHA256), from the 'local_key' field of attachment metadata. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |