You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stack-encrypt: delete dynamic::Value and Scalar, derive terms through vitaminc, add block ORE, drop Bool order terms #1140
stack-encrypt's dynamic module is the path bindings use: values arrive as
vitaminc Values whose type is known only at runtime.
Problem
Two types restate vitaminc's vocabulary.dynamic::Value wraps FfiValue only to add Clone. dynamic::term::Scalar (term.rs:196)
mirrors FfiValue's variants one for one, to pick a Rust type for the term
crates, and copies text out of Protected to do it.
Bool has order terms (term.rs:444, 467; allowed by kind.rs:62-68).
With two possible values, an order term tells anyone with the column which
rows are true.
TextEq doesn't normalise text, so café written in two Unicode forms
gives two different hashes.
Proposal
Bump the vitaminc pins to 0.6.0:
in the root Cargo.toml, both Go guests, eql-bindings and packages/eql/tests/encryption;
follow the Value rename;
follow the transport tag move in stack-guest-abi and the guests.
Delete dynamic::Value and Scalar. dynamic::term takes &Value and
calls vitaminc-prf and vitaminc-ore. admits keeps only rules that
belong to stack, such as Match taking text only.
Remove Bool order terms. Add a block ORE term kind beside CLLW ORE and
OPE. Remove the direct cllw-ore dependency.
Normalise TextEq to NFC. No stored data depends on the old form.
Activity