-
Notifications
You must be signed in to change notification settings - Fork 5
dcap-rs overhaul (Title may change) #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
preston4896
wants to merge
14
commits into
main
Choose a base branch
from
dev
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
* feat: make dcap-rs more modular * feat: implement solana based dcap-rs sdk * fix: add missing tdxtcbcomponents check * feat: add borsh serialization and deserialization for TcbInfo * feat: add borsh serialization and deserialization for EnclaveIdentity
…heir corresponding ZeroCopy types (#19) * expose TcbInfoAndSignature fields, serialize version to u16 * fmspc and pceid deserialize as strings * fixed fmspc and pceid pck comparison * more bytes should be deserialized as string types * dont use map for getters so we dont depend on copy trait * change tcbv3components ordering * removed borsh and use bytemuck instead * removed compute digest * first attempt at bytemuck serialization * bytemuck tcb serialization passed testing * renamed tcb_info pod module * zero-copy independant of rust native tcb_info * zero-copy feature * i64 for timestamps * incorrect tdx component lookup * implemented zero copy tcb lookup * features set update * pod tcb_info utils should not depend on TcbStatus * comments about space and alignment for pod types * reorganize pod modules * qe identity type update: parse hexstrings as strings * enclave identity bytemuck serialization * implemented getters to return hex string data as bytes array * modified tcb status enum ordering * change tee type byte order in verified output * fixed converge_tcb_status_with_tdx_module
* added td15report parser and modified quote struct to accommodate v5 * td1.5 relaunch check * added e2e v5 test * modified attestation signed data for v5 * tcb lookup for td1.5 * collateral struct constructor * enclave identity tcb eval number encoded as u32 * content hash * added alloy-sol-type and implemented vec conversion to get output bytes * x509 cert and crl hasher * verified output from bytes todo * separated test modules * change alloy-sol-types version requirement * replace tee_type with quote_body_type in VerifiedOutput * content hash error handling * separated out /tests into its own directory * write quote body type to output in big endian * im dumb af * tdx relaunch check update * missing tcb evaluation data number in tcbinfo content hash preimage * quote header version check * changed padding ordering
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.
Introduction of
dcap-rs
crate upgrade. Changes including:pod
types for TCBInfo and QE Identity structures to reduce heap usage. (useful for Solana program integration)