verify_certificate
Re-derive a manufacturing certificate's verdict from its own data and verify integrity. Requires an out-of-band SHA-256; returns VERIFIED, REFUTED, VACUOUS, or UNVERIFIED.
Instructions
Verify a manufacturing certificate bundle. Re-derives the admission verdict from the certificate's own numbers rather than reading it, and checks integrity. Returns a verdict: VERIFIED, REFUTED, VACUOUS, or UNVERIFIED. IMPORTANT: without an expected_sha256 (a fingerprint obtained OUT OF BAND, not from the bundle itself) the verdict is UNVERIFIED — the tool abstains, because internal consistency alone cannot rule out a forgery whose inputs and verdict were edited together. UNVERIFIED means 'cannot tell', NOT 'the certificate is bad'. Do not report it as either pass or fail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle_dir | Yes | Path to the bundle directory. | |
| allow_empty | No | ||
| expected_sha256 | No | The out-of-band fingerprint — the trust anchor. Without it the tool abstains. | |
| accept_without_anchor | No | Accept the weaker internal-consistency check on purpose. |