Repository navigation
Populate SEV-CORE - #420
Open
DGonzalezVillal wants to merge 5 commits into
Open
Populate SEV-CORE #420DGonzalezVillal wants to merge 5 commits into
DGonzalezVillal wants to merge 5 commits into
Conversation
We will start the versioning for all crates from the start. Signed-off-by: DGonzalezVillal <[email protected]>
Signed-off-by: DGonzalezVillal <[email protected]>
Signed-off-by: DGonzalezVillal <[email protected]>
Signed-off-by: DGonzalezVillal <[email protected]>
Signed-off-by: DGonzalezVillal <[email protected]>
DGonzalezVillal
requested review from
amd-aliem,
larrydewey and
tylerfanelli
as code owners
November 12, 2026 21:56
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.
Adds the
sev-corecrate from the workspace refactor proposal (docs/design/workspace-crates.md). Crate version is0.1.0.What's in it
parser:Cursorover&[u8],Decoder<P>andEncoder<P>,ByteParser(from_bytes/to_bytes),ByteWriteforVec<u8>, andParseError. Skips are zero-checked (skip_bytes) or return the original region (skip_bytes_lax).Authenticate: a key or certificate that checks whether a signature belongs to it.Verifiable<Root>: an artifact thatverifys against a root.verifycallsroot.authenticateand returns an associatedOutput.Attestable: produces an attestation token from a verified artifact.No crypto, no ABI types, and no role-crate impls. Those belong in
sev-types,sev-endorser, andsev-verifier.Testing
cargo test -p sev-core: 25 unit tests, 5 doc testscargo clippy -p sev-core --all-targets -- -D clippy::all -D unused_imports -D warnings -D clippy::stylecargo fmt --all -- --checkOpen questions
Authenticate::authenticatetakes only the signature. A signature check on a report also needs the signed body, so the report impl ofVerifiableis not included here.