-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add x509-parser dependency and helper fns * Add pck cert chain parser * Doccomments * Use x509 crate that works with no-std * Tidy, comments * WIP - handle PCK certs in staking pallet * Rm pck cert stuff from attestation pallet * Fix mock pck cert chain verifying * Taplo * Compress verifying key * Add missing import * Add missing implementations of PckCertVerifyier * Fix staking pallet benchmarks * Validate cert chain of arbitrary length * Tidy, fix tests * Lockfile * Clippy * Error handling * Add test for production cert verifyer * Rm commented code in test * Changelog * update metadata * Hopefully fix staking extension pallet benchmarking for validate extrinsic * Update pallets/staking/src/lib.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Update pallets/staking/src/tests.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Update pallets/staking/src/pck/production.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Update pallets/staking/src/pck/production.rs Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com> * Typo in struct name and improve test readablilty * Rm calls to mock_attest_validate in staking pallet test as fn is now removed * Handle errors in production verify_cert fn * Doccomments * Alphabetically sort runtime config types * Changelog * derive serialize and deserialize for JoiningServerInfo * Rename struct (typo) * Make it clearer what is happenning with the PCK generation in staking pallet benchmark * Use intel root cert from web link and link to it in doccomments * Fix staking pallet benchmarks in always generate a mock quote before validate * Slightly improve error conversion --------- Co-authored-by: Jesse Abramowitz <jesse@entropy.xyz> Co-authored-by: Hernando Castano <HCastano@users.noreply.github.com>
- Loading branch information
1 parent
c1a2233
commit 5afd3f8
Showing
18 changed files
with
516 additions
and
94 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
This file contains 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 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 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 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
Oops, something went wrong.