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 conformance: add TypeScript runner and public SDK mapping tests #1479
Stack Encrypt (packages/stack-encrypt) is the Rust engine that every CipherStash language SDK runs on. The Rust crate and the Go SDK must write and read the same bytes. The Go SDK runs the same engine as a WASI guest, compiled to WebAssembly. Python and TypeScript SDKs are coming.
The conformance corpus in conformance/stack-encrypt/ is a shared set of test cases that every language runs. It makes all SDKs agree on what each declaration and operation means.
The TypeScript SDK will be a new major version of @cipherstash/stack built on Stack Encrypt (#1065). Its runner must use the same corpus and frozen fixtures as Rust and Go.
Read the shared cases without copying their expected results. Declare the supported profiles and capabilities.
Test how TypeScript values map to engine values: number ranges, bigint ranges, undefined, null, bytes, and timestamps. Refuse a conversion that loses data.
If the SDK has a native backend and a WASM backend, run the cases on both, each with its own lifecycle evidence.
Activity