Policy Artifact Demo
Interactive demonstration of policy artifact sealing. This is a reference implementation for educational purposes—not a compliance claim.
How to Verify
1
Obtain the Artifact
Get the sealed artifact JSON containing the hash, signature, and metadata.
2
Canonicalize Original
If you have the original policy, canonicalize it (sort keys, consistent formatting).
3
Compute Hash
Hash the canonical form. In production: BLAKE2b-256. Compare with artifact_hash.
4
Verify Signature
Verify the Ed25519 signature against the issuer's public key.
Reference Implementation Notice
This demo uses a simplified hash function for illustration. Production implementations use BLAKE2b-256 for hashing and Ed25519 for signatures. This demo does not make any compliance or security claims—it demonstrates the conceptual flow of policy artifact sealing.