-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting path of the State Key (AES) (#1324)
* [itp-sgx-crypto] add `ToPubkey` and `AccessPubkey` traits * [itp-sgx-crypto] refactor the Rsa3072 stuff to no longer use static file IO. * [itp-sgx-crypto] set-base-path to the PWD * [enclave-runtime] more explanation about using the PWD * [enclave-runtime] add todo for replacing the once-cell. * taplo fmt * add some doc * typo * [sgx-crypto] log full path instead of just filename. * [itp-sgx-io] fix standalone compilation * [itp-sgx-crypto] put some functions behind a trait. * [enclave-runtime/attestation_handler] add signing key repo to struct * [itp-sgx-crypto] impl `ToPubkey` for `ed25511::Pair` * introduce `SigningKeyRepository` and remove all instances of `StaticFile` IO. * [itp-sgx-crypto] add base path to AESSeal * [itp-state-handler] wip update tests * [itp-state-handler] add debug log for existing files in shard * [itp-state-handler] fix tests by creating a unique key-repo per test * fix merge errors * [itp-sgx-crypto] add tests for aes * taplo fmt * clippy * move aes key file name constant to the aes module * [stf-state-handle] rename `TestKeyRepositoryMock` to `TestKeyRepositoryMock` to reflect that it is no longer the mock * [itp-sgx-crypto] more accurate name for the AES key file
- Loading branch information
Showing
9 changed files
with
178 additions
and
62 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
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.