Initial Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Tasks — crypto-spec-conformance
|
||||
|
||||
- [x] Rewrite `openspec/specs/crypto/spec.md` to reflect the actual façade surface (AEAD, sign, agree, sealed-box, auth-box, primitives, errors, RNG callsite). Fill `## Purpose`. Drop the moved hash / KDF / argon2id requirements (those now belong to `@suaveplan/crypto-hash`'s spec).
|
||||
- [x] Add `**Verified by:**` line to every `### Requirement:` block in the folded spec.
|
||||
- [x] Add `src/crypto.spec-conformance.test.ts` covering engine pluggability across all namespaces, AEAD nonce invariant, AEAD-failure no-leak, sign-verify boolean contract, x25519 stability, primitives loop body / mutation invariants, single `crypto.getRandomValues` callsite, error registry coverage, and frozen registry.
|
||||
- [x] Confirm `bun scripts/openspec-conformance.ts @suaveplan/crypto` exits 0.
|
||||
- [x] Confirm `bunx turbo lint typecheck test --filter=@suaveplan/crypto` is green.
|
||||
- [x] Confirm `bunx turbo test:coverage --filter=@suaveplan/crypto` reports 100/100/100/100.
|
||||
Reference in New Issue
Block a user