feat: CoRIM v0.1.0 — Concise Reference Integrity Manifest (Rust)#4
Closed
mingweishih wants to merge 1 commit intomainfrom
Closed
feat: CoRIM v0.1.0 — Concise Reference Integrity Manifest (Rust)#4mingweishih wants to merge 1 commit intomainfrom
mingweishih wants to merge 1 commit intomainfrom
Conversation
Rust implementation of draft-ietf-rats-corim-10 for Remote Attestation (RATS) Endorsements and Reference Values. Library (corim): - Full CDDL coverage: corim-map, CoMID, CoTL, all 9 triple types, measurement-values-map with all fields - Signed CoRIM (#6.18 / COSE_Sign1): decode, validate, construct with attached and detached payload modes (no crypto dependency) - CWT Claims (RFC 8392/9597) and protected header extraction - CoSWID (RFC 9393): structured types with co-constraint validation - Zero-dependency CBOR: in-house encoder/decoder, deterministic encoding per RFC 8949 §4.2.1 - Builder API: ComidBuilder, CotlBuilder, CorimBuilder, SignedCorimBuilder with fluent interface - Validation & appraisal: reference value matching (§9.3), conditional endorsement series (§9.3.4) - Optional JSON serialization (feature-gated) - 631 tests, 0 clippy warnings, 0 unsafe blocks Proc-macro crate (corim-macros): - CborSerialize / CborDeserialize derives for integer-keyed CBOR maps CLI tool (corim-cli): - Validates and inspects unsigned and signed CoRIM documents - Auto-detects tag 501 (unsigned) vs tag 18 (signed) - Text and JSON output formats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rust implementation of draft-ietf-rats-corim-10 for Remote Attestation (RATS) Endorsements and Reference Values.
Library (corim):
Proc-macro crate (corim-macros):
CLI tool (corim-cli):