A collection of utility components for sensitive values.
Access control, a gate consults a latch before each get, see latch.wit:
gatelatch-defer-alllatch-deny-alllatch-keylatch-n2,latch-n3,latch-n4,latch-n5, aggregate 2 to 5 latches into one
A dev container is available that contains the necessary tools and configuration out of the box.
Prereqs:
- a rust toolchain
cargo binstall
make componentsTo test the components:
make testEach store is plugged into test-consumer, which calls the store the way a consumer does, e.g. test-empty, and each component's tests, in its tests directory, run the composition with wasmtime, with the test-harness. The gate is tested between the consumer and a store, test-gate, with a latch the tests provide. The latches are called by the tests directly.
The Componentized project follow the Contributor Covenant Code of Conduct. In short, be kind and treat others with respect.
General discussion and questions about the project can occur in the project's GitHub discussions.
The Componentized project team welcomes contributions from the community. A contributor license agreement (CLA) is not required. You own full rights to your contribution and agree to license the work to the community under the Apache License v2.0, via a Developer Certificate of Origin (DCO). For more detailed information, refer to CONTRIBUTING.md.
This project was conceived in discussion between Mark Fisher and Scott Andrews.
Apache License v2.0: see LICENSE for details.