Verify a file against a certificate
verify_fileCompute the SHA-256 of a local file and check it against a certificate's hash, attestation, and HMAC signature to verify integrity and authenticity, without sending file bytes.
Instructions
Compute the SHA-256 of a local file and check it against a declared hash/attestation, plus verify the HMAC signature server-side (no file bytes are ever sent). Pass the fields as read from the certificate (hash, attestazione, hmac, and any declared titolo/autore/anno/note).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anno | No | ||
| hash | No | Declared SHA-256 to compare against (from the certificate). | |
| hmac | No | The HMAC signature from the certificate. | |
| note | No | ||
| path | Yes | Local file to verify. | |
| autore | No | ||
| titolo | No | ||
| attestazione | No | The attestation string from the certificate. |