Skip to content
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

feat(crypto): add basic data sealing roundtrip implementation using hpke #16

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

longtomjr
Copy link
Collaborator

PiDelport and others added 3 commits April 28, 2022 11:36
* feat(ntc-vault-cli): initial layout

* style(ntc-vault-cli): add rustfmt.toml

* feat(ntc-vault-cli): add clap-based CLI skeleton

* feat(ntc-vault-cli): flesh out structure, implement identity subcommand

* refactor(ntc-vault-cli): separate code into two crates: core, cli

* refactor(ntc-vault-cli): move rand-using code from core to cli

* test(ntc-vault-cli): generate_secure_seed smoke test

* feat(ntc-vault-cli): data package and JSON Schema work-in-progress

* refactor: move crates into rust-workspace

* docs: add comment about using "cargo +nightly fmt"

* docs: add ARCHITECTURE.md

* refactor: rename package "ntc-vault-core" → "ntc-data-packages"

* feat(ntc-data-packages): replace anyhow with thiserror

* build(ntc-data-packages): drop jsonschema's default features

We don't need jsonschema's CLI, or the file / HTTP resolving features.

This greatly reduces our dependency tree.

* build: declare rust-version

* docs: add package descriptions

* feat(ntc-data-packages): better validation error messages

* ci(rust-workspace): add check and test workflows for GitHub Actions

* docs: fix rustdoc link issues

* build(rust-workspace): add rust-toolchain.toml, with channel = "stable"

* docs(README): add link to ARCHITECTURE.md

* deps(ntc-vault-cli): update confy revision for store_path fix

Upstream PR:

rust-cli/confy#60

(fix: `store_path` should create missing directories, like `load_path`)

* refactor(ntc-data-packages): move tests to API-based integration tests

Motivation:

https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html

* refactor(ntc-vault-cli): move try_exists to compat module

* refactor(ntc-vault-cli): VaultIdentityConfig: make pub

* deps(ntc-vault-cli): add dev dependencies for CLI tests

* test(ntc-vault-cli): add snapshot-based CLI tests

* deps(ntc-data-packages): add serde

* feat(ntc-data-packages): add Metadata::from_json_bytes

* feat(ntc-vault-cli): add fs_io, with read_metadata

* feat(ntc-vault-cli): implement more of the "data" subcommand

* chore: add todos to keep track of changes that needs to be made to allign with design

* chore(deps): update dependencies and bump jsonschema to 0.16

Co-authored-by: Herman <[email protected]>
* build(rust-sgx-workspace): add workspace for SGX code

* build(ntc-tee-server): add SGX project for the TEE server

* build(ntc-tee-server): bump Rust edition: "2018" → "2021"

* build(ntc-tee-server): better error message for missing Enclave_u library

* ci(rust-sgx-workspace): add check and test workflows for GitHub Actions

* ci: use nested checkout for the multiple repositories to prevent _temp being deleted

* style: fix clippy warnings

* ci: remove --all-targets build arg to fix enclave builds and checks

Co-authored-by: Herman <[email protected]>
@longtomjr longtomjr self-assigned this Apr 29, 2022
@jdvlio jdvlio assigned jdvlio and unassigned longtomjr Jun 20, 2022
@sonasi sonasi force-pushed the feat-data-package-creation branch from c9cefaf to a0595e1 Compare January 25, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants