Skip to content

Commit 1485ad3

Browse files
chore: release @nestm/crypto (alpha) (#3)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a90d79a commit 1485ad3

3 files changed

Lines changed: 27 additions & 7 deletions

File tree

.changeset/pre.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
2-
"mode": "pre",
3-
"tag": "alpha",
4-
"initialVersions": {
5-
"@nestm/crypto": "0.1.0-alpha.0"
6-
},
7-
"changesets": ["initial-crypto-release"]
2+
"mode": "pre",
3+
"tag": "alpha",
4+
"initialVersions": {
5+
"@nestm/crypto": "0.1.0-alpha.0"
6+
},
7+
"changesets": [
8+
"initial-crypto-release",
9+
"recipient-addressed-seal",
10+
"secure-field-adapters"
11+
]
812
}

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# @nestm/crypto
22

3+
## 0.1.0-alpha.1
4+
5+
### Minor Changes
6+
7+
- a90d79a: Add `@nestm/crypto/keys`: X25519 keypair generation with raw/DER conversion, an HKDF-SHA256
8+
helper, and a recipient-addressed `sealTo`/`openFrom` primitive (ephemeral-static X25519 →
9+
HKDF-SHA256 → AES-256-GCM) for wrapping an existing secret to a public key. The wire format is
10+
version- and suite-tagged; the recipient public key is bound into the key schedule by the
11+
library, the nonce is derived and never transmitted, callers may bind key-schedule `info` and
12+
AEAD `aad`, and failures use the existing `CryptoError` codes. Independent of `DataKeyProvider`
13+
and `CipherEngine`; `@nestm/crypto/core` stays free of NestJS, tenant, and cloud SDK imports.
14+
- f7de164: Add tenant-aware text batches, typed value codecs, explicit NestJS HTTP field adapters, and a
15+
schema-agnostic Prisma write-encryption processor. Existing ciphertext is authenticated before
16+
idempotent writes, batch resources are bounded, and the new persistence APIs never accept plaintext
17+
data-encryption keys.
18+
319
## 0.1.0-alpha.0
420

521
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nestm/crypto",
3-
"version": "0.1.0-alpha.0",
3+
"version": "0.1.0-alpha.1",
44
"description": "Authenticated encryption for NestJS 12 with AES-256-GCM, envelope key providers, tenant isolation, and HTTP/Prisma field adapters.",
55
"license": "MIT",
66
"author": "nestm",

0 commit comments

Comments
 (0)