-
Notifications
You must be signed in to change notification settings - Fork 38
feat(tee-verifier): stateless dcap_qvl::verify wrapper contract
#3237
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ec4fec4
feat(tee-verifier): stateless dcap_qvl::verify wrapper contract
pbeza db683a8
build(tee-verifier): enable near-sdk/unit-testing for tests via test-…
pbeza 0501216
refactor(tee-verifier): return Result via #[handle_result], move erro…
pbeza 95ba8eb
chore(tee-verifier): drop unused repository manifest field
pbeza 094b907
test(tee-verifier): pin Borsh wire layout against dcap-qvl; convert v…
pbeza 180333d
feat(tee-verifier): return verify_quote outcome as a value, not a fai…
pbeza 06cf823
style(tee-verifier): use #[expect] over #[allow] for non_snake_case i…
pbeza b612db8
chore(tee-verifier): address Copilot review nits
pbeza 38774c5
chore(tee-verifier): drop redundant cargo-shear borsh ignore
pbeza 2bbf1e1
Merge remote-tracking branch 'origin/main' into feat/tee-verifier-con…
pbeza 6082844
fix(tee-verifier): build the reproducible WASM with --profile=release…
pbeza File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| [package] | ||
| name = "tee-verifier" | ||
| version = { workspace = true } | ||
| license = { workspace = true } | ||
| edition = { workspace = true } | ||
|
|
||
| [package.metadata.near.reproducible_build] | ||
| image = "sourcescan/cargo-near:0.21.1-rust-1.93.0" | ||
| image_digest = "sha256:79b789c81ba19ec30794a6b1046b02dcaf5c055994b22cc7c9af67ab5096b095" | ||
| passed_env = [] | ||
| container_build_command = [ | ||
| "cargo", | ||
| "near", | ||
| "build", | ||
| "non-reproducible-wasm", | ||
| "--locked", | ||
| "--profile=release-contract", | ||
| "--features", | ||
| "abi", | ||
| ] | ||
|
pbeza marked this conversation as resolved.
|
||
|
|
||
| [lib] | ||
| crate-type = ["cdylib", "lib"] | ||
|
|
||
| [features] | ||
| # Enabled by `cargo near build` (via `--features near-sdk/__abi-generate`) | ||
| # and required for ABI / Borsh schema generation. Pulls in | ||
| # `borsh/unstable__schema` and `BorshSchema` derives on the wire types. | ||
| abi = ["borsh/unstable__schema", "tee-verifier-interface/borsh-schema"] | ||
| # Enables `near_sdk::testing_env!` for tests; the workspace `near-sdk` | ||
| # dependency no longer turns on `unit-testing` by default. | ||
| test-utils = ["near-sdk/unit-testing"] | ||
|
|
||
| [dependencies] | ||
| borsh = { workspace = true } | ||
| dcap-qvl = { workspace = true } | ||
| near-sdk = { workspace = true } | ||
| tee-verifier-interface = { workspace = true } | ||
|
|
||
| [target.'cfg(target_arch = "wasm32")'.dependencies] | ||
| getrandom = { workspace = true, features = ["custom"] } | ||
|
|
||
| [dev-dependencies] | ||
| hex = { workspace = true } | ||
| rstest = { workspace = true } | ||
| tee-verifier = { path = ".", features = ["test-utils"] } | ||
| test-utils = { workspace = true } | ||
|
|
||
| [lints] | ||
| workspace = true | ||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.