diff --git a/.changeset/pre.json b/.changeset/pre.json index d52e8dd..e99a91f 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,8 +1,12 @@ { - "mode": "pre", - "tag": "alpha", - "initialVersions": { - "@nestm/crypto": "0.1.0-alpha.0" - }, - "changesets": ["initial-crypto-release"] + "mode": "pre", + "tag": "alpha", + "initialVersions": { + "@nestm/crypto": "0.1.0-alpha.0" + }, + "changesets": [ + "initial-crypto-release", + "recipient-addressed-seal", + "secure-field-adapters" + ] } diff --git a/CHANGELOG.md b/CHANGELOG.md index c55325d..790aa02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # @nestm/crypto +## 0.1.0-alpha.1 + +### Minor Changes + +- a90d79a: Add `@nestm/crypto/keys`: X25519 keypair generation with raw/DER conversion, an HKDF-SHA256 + helper, and a recipient-addressed `sealTo`/`openFrom` primitive (ephemeral-static X25519 → + HKDF-SHA256 → AES-256-GCM) for wrapping an existing secret to a public key. The wire format is + version- and suite-tagged; the recipient public key is bound into the key schedule by the + library, the nonce is derived and never transmitted, callers may bind key-schedule `info` and + AEAD `aad`, and failures use the existing `CryptoError` codes. Independent of `DataKeyProvider` + and `CipherEngine`; `@nestm/crypto/core` stays free of NestJS, tenant, and cloud SDK imports. +- f7de164: Add tenant-aware text batches, typed value codecs, explicit NestJS HTTP field adapters, and a + schema-agnostic Prisma write-encryption processor. Existing ciphertext is authenticated before + idempotent writes, batch resources are bounded, and the new persistence APIs never accept plaintext + data-encryption keys. + ## 0.1.0-alpha.0 ### Minor Changes diff --git a/package.json b/package.json index 1ad308c..af7204f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nestm/crypto", - "version": "0.1.0-alpha.0", + "version": "0.1.0-alpha.1", "description": "Authenticated encryption for NestJS 12 with AES-256-GCM, envelope key providers, tenant isolation, and HTTP/Prisma field adapters.", "license": "MIT", "author": "nestm",