chore(release): 0.8.0 - #259
Merged
Merged
Conversation
Ships parse_tpmt_signature() / ParsedSignature and both TPMS_ATTEST framings so cmcp and ca2a can delete their copies instead of keeping three implementations of the same wire formats in step by hand. Both downstreams carried a byte-identical TPMT_SIGNATURE unwrap; the framing gap was one-sided, since this package accepted only the bare form that tpm2_quote -m writes. This release is what lets the downstream fix be a deletion rather than a third hand-rolled parser. Phase A1 of consolidating TEE verification here. No change to manifest signing or verification behaviour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Cuts 0.8.0 so the Phase A1 consolidation is installable and cmcp/ca2a can migrate by deletion.
Contents:
parse_tpmt_signature()/ParsedSignaturebecome public, andparse_tpm_quote()accepts both the bareTPMS_ATTESTthattpm2_quote -mwrites and the size-prefixedTPM2B_ATTESTother producers write. Full detail in #258.Minor rather than patch: two additions to the public API surface. Not a major, because behaviour for every existing caller is unchanged — bare-framed input parses to the same bytes and
verify_tpm_quote()verifies over the same range.Downstream migration note carried forward:
parse_tpmt_signatureraisesTpmVerificationError, notValueError. cmcp catchesValueErrortoday and needs that widened when it deletes its copy.🤖 Generated with Claude Code