Skip to content

stack-encrypt conformance: add TypeScript runner and public SDK mapping tests #1479

Open

Description

@coderdan

Background

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.

Proposal

The SDK must exist first. This issue is in milestone 4 so it is visible. Issue #1490 decides whether TypeScript blocks the Rust release.

Plans: the Stack Encrypt API plan and the conformance roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions