oxidecomputer / dice-util

utilities for cert template generation and manufacturing / certifying DeviceIds
Mozilla Public License 2.0
7 stars 3 forks source link

verifier-cli: Persist artifacts as json instead of raw binary. #221

Closed flihp closed 2 months ago

flihp commented 2 months ago

This falls short of removing all binary encodings but it makes it possible for us to use the verify command to verify an attestation and persist the artifacts as JSON. Later we can use the verify-attestation and verify-cert-chain commands to re-verify the artifacts persisted by the verify command.

Other commands like attest and log still need to be updated to use the JSON encoding.