@raiton/vault 0.0.0-stage → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +56 -0
- package/CHANGELOG.md +21 -0
- package/README.en.md +93 -0
- package/README.fr.md +84 -0
- package/README.md +83 -2
- package/docs/errors.fr.md +57 -0
- package/docs/errors.md +57 -0
- package/examples/basic.ts +59 -0
- package/llms.txt +54 -0
- package/main.console.ts +9 -0
- package/package.json +77 -4
- package/source/adapters/local-kms.ts +167 -0
- package/source/adapters/memory.ts +120 -0
- package/source/artifacts.ts +4 -0
- package/source/bin/index.ts +24 -0
- package/source/cli/service.ts +248 -0
- package/source/commands/definitions.ts +151 -0
- package/source/config.ts +281 -0
- package/source/contracts.ts +5 -0
- package/source/cqrs/contracts.ts +111 -0
- package/source/cqrs/handlers.ts +122 -0
- package/source/decorators.ts +57 -0
- package/source/errors.ts +93 -0
- package/source/events.ts +104 -0
- package/source/http/contracts.ts +111 -0
- package/source/index.ts +18 -0
- package/source/kernel.ts +232 -0
- package/source/persistence/generator.ts +180 -0
- package/source/persistence/model.ts +91 -0
- package/source/plugin.ts +148 -0
- package/source/services/audit.ts +52 -0
- package/source/services/envelope.ts +133 -0
- package/source/services/keys.ts +339 -0
- package/source/types.ts +501 -0
package/AGENTS.md
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AGENTS.md — @raiton/vault
|
|
2
|
+
|
|
3
|
+
## Mission
|
|
4
|
+
|
|
5
|
+
Maintain the cryptographic vault of the Raiton framework. The module orchestrates audited primitives, KMS providers and persistence adapters. It never implements its own cryptography.
|
|
6
|
+
|
|
7
|
+
## Invariants
|
|
8
|
+
|
|
9
|
+
1. **No home-made primitive.** Use `node:crypto`, an audited library, a cloud KMS or an HSM through `KmsProvider`.
|
|
10
|
+
2. **Key material stays inside the provider.** `encrypt`, `decrypt`, `sign` and `verify` happen behind `KmsProvider`; the core only stores opaque references.
|
|
11
|
+
3. **Fail closed.** Unknown capability, missing dependency, incomplete adapter, missing secret, destroyed key or unavailable KMS must throw a `VaultError` with a stable code.
|
|
12
|
+
4. **Audit everything sensitive.** Key generation, rotation, destruction, usage and refusals are recorded with actor, tenant and correlation id.
|
|
13
|
+
5. **Tenant isolation.** Never reveal whether a resource exists in another tenant; return the same refusal.
|
|
14
|
+
6. **No secret in logs.** Errors, events, snapshots and traces must not contain key material or clear-text personal data.
|
|
15
|
+
7. **Capabilities are explicit.** A capability that is not implemented is declared but rejected at startup. Do not silently enable it.
|
|
16
|
+
|
|
17
|
+
## Layout
|
|
18
|
+
|
|
19
|
+
| Path | Purpose |
|
|
20
|
+
|---|---|
|
|
21
|
+
| `source/types.ts` | Capabilities, domain model, adapter and KMS contracts, configuration types. |
|
|
22
|
+
| `source/config.ts` | Defaults, presets, capability resolution, validation and config loading. |
|
|
23
|
+
| `source/kernel.ts` | `VaultKernel`, `VaultRuntime`, services wiring, health and events. |
|
|
24
|
+
| `source/services/` | Key lifecycle, envelope encryption and audit services. |
|
|
25
|
+
| `source/adapters/` | `MemoryVaultAdapter`, `LocalKmsProvider`. |
|
|
26
|
+
| `source/cqrs/` | Schema-first commands/queries and Raiton handlers. |
|
|
27
|
+
| `source/http/` | REST/OpenAPI schema-first contracts. |
|
|
28
|
+
| `source/persistence/` | Canonical model, SQL and ORM adapter generator. |
|
|
29
|
+
| `source/plugin.ts` | Raiton plugin, adapter injection, health export. |
|
|
30
|
+
| `source/commands/` + `source/bin/` | `raiton vault ...` CLI. |
|
|
31
|
+
| `tests/` | Foundation, key lifecycle, CLI, exports and CQRS tests. |
|
|
32
|
+
| `specs/` | SpecKit programme. |
|
|
33
|
+
|
|
34
|
+
## Commands
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
bun install
|
|
38
|
+
bun run typecheck
|
|
39
|
+
bun test tests
|
|
40
|
+
bunx raiton-vault doctor --json
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Adding a capability
|
|
44
|
+
|
|
45
|
+
1. Read `specs/001-vault-foundation/spec.md` and the capability definition in `source/types.ts`.
|
|
46
|
+
2. Add its contract to the adapter/KMS only when necessary; keep the core ORM-agnostic.
|
|
47
|
+
3. Implement the service, wire it in `VaultKernel`, add schema-first contracts and CQRS handlers.
|
|
48
|
+
4. Add the capability to `IMPLEMENTED_CAPABILITIES` only after tests cover the happy path and each failure mode.
|
|
49
|
+
5. Audit success and refusal; add an event and a health check.
|
|
50
|
+
6. Update docs FR/EN, `llms.txt`, `CHANGELOG.md` and contract snapshots.
|
|
51
|
+
|
|
52
|
+
## Testing
|
|
53
|
+
|
|
54
|
+
- Use `MemoryVaultAdapter` and `LocalKmsProvider` with an injectable clock.
|
|
55
|
+
- Cover rotation with old ciphertexts, destruction, tenant isolation, usage denial and audit evidence.
|
|
56
|
+
- Never assert on a real cloud KMS or real secret in tests.
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to `@raiton/vault` are documented here.
|
|
4
|
+
|
|
5
|
+
## 0.0.1 — 2026-12-04
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Initialisation of the `@raiton/vault` package and repository.
|
|
10
|
+
- Capability model with dependency resolution, presets and fail-closed validation.
|
|
11
|
+
- `VaultAdapter` persistance contract and `MemoryVaultAdapter`.
|
|
12
|
+
- `KmsProvider` contract and `LocalKmsProvider` backed by `node:crypto` (AES-256-GCM, Ed25519, ECDSA P-256, RSA-OAEP).
|
|
13
|
+
- `VaultKernel` and `VaultRuntime` with key lifecycle, envelope encryption, audit and health.
|
|
14
|
+
- Key generation, rotation, destruction, tenant isolation and usage checks.
|
|
15
|
+
- `@Encrypted()` metadata decorator for the future ORM integration.
|
|
16
|
+
- Schema-first HTTP contracts, CQRS commands/queries and Raiton handlers.
|
|
17
|
+
- Canonical persistence model, SQL generator and ORM adapter skeleton.
|
|
18
|
+
- `raiton vault` CLI: `init`, `doctor`, `capabilities`, `inspect`, `rotate`, `export`, `generate`.
|
|
19
|
+
- Raiton plugin, lifecycle events, diagnostic and capability summary.
|
|
20
|
+
- Error catalogue, docs FR/EN, `AGENTS.md`, `llms.txt`, SpecKit scaffold and tests.
|
|
21
|
+
- npm publish workflow (main/beta/alpha, dist-tags, provenance).
|
package/README.en.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# @raiton/vault — Cryptographic vault
|
|
2
|
+
|
|
3
|
+
> Key lifecycle, KMS, envelope and field encryption, signing, secrets, crypto-shredding, PKI and audit for Raiton.
|
|
4
|
+
|
|
5
|
+
**Family**: Trust, Crypto & Compliance
|
|
6
|
+
**Target framework**: Raiton `6.20.0-beta.41`
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
|
|
10
|
+
`@raiton/vault` turns Raiton's cryptographic primitives into lifecycle management: keys and versions, KMS, DEK/KEK envelope, field encryption, blind indexes, JWS/JWE/COSE signing, secrets, crypto-shredding, PKI, audit and post-quantum roadmap. It never reimplements a primitive: it orchestrates audited libraries, KMS and HSM behind testable contracts.
|
|
11
|
+
|
|
12
|
+
## Capabilities
|
|
13
|
+
|
|
14
|
+
| Capability | Description | Depends on | Foundation |
|
|
15
|
+
|---|---|---|---|
|
|
16
|
+
| `keys` | Generation, versioning, rotation, retirement and tenant keys. | audit | Implemented |
|
|
17
|
+
| `kms` | Local, AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault and HSM adapters. | keys | Local provider implemented |
|
|
18
|
+
| `envelope` | DEK/KEK envelope encryption and encryption at rest. | kms | Implemented |
|
|
19
|
+
| `field` | `@Encrypted()` decorator on entities and DTOs, deterministic or random mode. | envelope | Metadata decorator implemented |
|
|
20
|
+
| `blind-index` | Blind index for searching and joining encrypted data. | field | Declared |
|
|
21
|
+
| `signing` | JWS/JWE/COSE, detached signatures and canonicalization. | keys | Declared |
|
|
22
|
+
| `secrets` | Secret references, rotation, leak detection and controlled reads. | kms | Declared |
|
|
23
|
+
| `shredding` | Crypto-shredding for GDPR erasure and destruction evidence. | keys | Declared |
|
|
24
|
+
| `pki` | X.509, mTLS, CSR and ACME for service certificates. | keys | Declared |
|
|
25
|
+
| `audit` | Key usage, access, rotation and integrity evidence. | foundation | Implemented |
|
|
26
|
+
| `pqc` | Post-quantum roadmap: ML-KEM, ML-DSA and hybrid mode. | keys | Declared |
|
|
27
|
+
|
|
28
|
+
> Declared-but-unimplemented capabilities fail closed at startup with `VAULT_CAPABILITY_NOT_IMPLEMENTED`.
|
|
29
|
+
|
|
30
|
+
## Quick start
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
bun install
|
|
34
|
+
bun run typecheck
|
|
35
|
+
bun test tests
|
|
36
|
+
|
|
37
|
+
bunx raiton-vault init --preset local --orm generic
|
|
38
|
+
bunx raiton-vault doctor --json
|
|
39
|
+
bunx raiton-vault capabilities --json
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Programmatic use
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import {
|
|
46
|
+
LocalKmsProvider,
|
|
47
|
+
MemoryVaultAdapter,
|
|
48
|
+
createVaultKernel,
|
|
49
|
+
VaultRuntime,
|
|
50
|
+
} from "@raiton/vault"
|
|
51
|
+
|
|
52
|
+
const kernel = createVaultKernel(
|
|
53
|
+
{capabilities: ["keys", "kms", "envelope", "audit"]},
|
|
54
|
+
{adapter: new MemoryVaultAdapter(), kms: new LocalKmsProvider()},
|
|
55
|
+
)
|
|
56
|
+
VaultRuntime.use(kernel)
|
|
57
|
+
|
|
58
|
+
await kernel.keys.generate({alias: "pii"})
|
|
59
|
+
const envelope = await kernel.envelope.encrypt({plaintext: "secret", key: "pii"})
|
|
60
|
+
const plaintext = await kernel.envelope.decrypt({envelope})
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Surfaces
|
|
64
|
+
|
|
65
|
+
- **REST**: routes generated from the schema-first contracts in `source/http/contracts.ts`.
|
|
66
|
+
- **GraphQL**: optional surface delegated to the same handlers and guards.
|
|
67
|
+
- **MCP**: `vault.encrypt`, `vault.decrypt`, `vault.sign`, `vault.verify`, `vault.keys`, `vault.rotate`.
|
|
68
|
+
- **CLI**: `raiton vault init`, `rotate`, `inspect`, `doctor`, `export`, `generate`, `capabilities`.
|
|
69
|
+
- **Studio**: admin resources generated from contracts (roadmap).
|
|
70
|
+
|
|
71
|
+
## Security invariants
|
|
72
|
+
|
|
73
|
+
- No home-made cryptographic primitive: `node:crypto`, audited libraries, KMS or HSM only.
|
|
74
|
+
- Key material never crosses the `KmsProvider` boundary in clear text.
|
|
75
|
+
- Every key operation and refusal is audited with actor, tenant and correlation id.
|
|
76
|
+
- Tenants are isolated; an unknown or foreign tenant receives the same refusal.
|
|
77
|
+
- Logs, errors and snapshots never contain a secret or clear-text personal data.
|
|
78
|
+
|
|
79
|
+
## Documentation
|
|
80
|
+
|
|
81
|
+
- [Error catalogue](./docs/errors.md) — [Catalogue FR](./docs/errors.fr.md)
|
|
82
|
+
- [Specification 001](./specs/001-vault-foundation/spec.md)
|
|
83
|
+
- [Programme](./specs/README.md)
|
|
84
|
+
|
|
85
|
+
## SpecKit
|
|
86
|
+
|
|
87
|
+
The `.specify/` scaffold and `.agents/skills/` are already present:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
$speckit-clarify specs/001-vault-foundation/spec.md
|
|
91
|
+
$speckit-plan specs/001-vault-foundation/spec.md
|
|
92
|
+
$speckit-tasks specs/001-vault-foundation/spec.md
|
|
93
|
+
```
|
package/README.fr.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# @raiton/vault — Coffre-fort cryptographique
|
|
2
|
+
|
|
3
|
+
> Cycle de vie des clés, KMS, chiffrement de champ, signature, secrets, crypto-shredding et PKI.
|
|
4
|
+
|
|
5
|
+
**Famille** : Trust, Crypto & Compliance
|
|
6
|
+
**Framework cible** : Raiton `6.20.0-beta.41`
|
|
7
|
+
|
|
8
|
+
## Rôle
|
|
9
|
+
|
|
10
|
+
`@raiton/vault` transforme les primitives crypto de Raiton en gestion de cycle de vie : clés et versions, KMS, enveloppe DEK/KEK, chiffrement de champ, index aveugle, signature JWS/JWE/COSE, secrets, crypto-shredding, PKI, audit et feuille de route post-quantique. Il ne réimplémente aucune primitive : il orchestre des bibliothèques auditées, des KMS et des HSM derrière des contrats testables.
|
|
11
|
+
|
|
12
|
+
## Capacités
|
|
13
|
+
|
|
14
|
+
| Capacité | Description | Dépend de |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| `keys` | Génération, versioning, rotation, retrait et clés par tenant ou organisation. | — |
|
|
17
|
+
| `kms` | Adaptateurs local, AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault et HSM. | keys |
|
|
18
|
+
| `envelope` | Chiffrement d'enveloppe DEK/KEK et chiffrement au repos. | kms |
|
|
19
|
+
| `field` | Décorateur `@Encrypted()` sur entités et DTO, mode déterministe ou aléatoire. | envelope |
|
|
20
|
+
| `blind-index` | Index aveugle pour rechercher et joindre des données chiffrées. | field |
|
|
21
|
+
| `signing` | JWS/JWE/COSE, signatures détachées et canonicalisation. | keys |
|
|
22
|
+
| `secrets` | Références de secrets, rotation, détection de fuite et lecture contrôlée. | kms |
|
|
23
|
+
| `shredding` | Crypto-shredding pour l'effacement RGPD et la preuve de destruction. | keys |
|
|
24
|
+
| `pki` | X.509, mTLS, CSR et ACME pour les certificats de service. | keys |
|
|
25
|
+
| `audit` | Usage des clés, accès, rotation et preuves d'intégrité. | keys |
|
|
26
|
+
| `pqc` | Feuille de route post-quantique : ML-KEM, ML-DSA et mode hybride. | keys |
|
|
27
|
+
|
|
28
|
+
## Surfaces
|
|
29
|
+
|
|
30
|
+
- **REST** : routes générées depuis les contrats schema-first.
|
|
31
|
+
- **GraphQL** : surface optionnelle déléguée aux mêmes handlers et gardes.
|
|
32
|
+
- **MCP** : `vault.encrypt`, `vault.decrypt`, `vault.sign`, `vault.verify`, `vault.keys`, `vault.rotate`.
|
|
33
|
+
- **CLI** : `raiton vault init`, `raiton vault rotate`, `raiton vault inspect`, `raiton vault doctor`, `raiton vault export`.
|
|
34
|
+
- **Studio** : ressources d'administration générées depuis les contrats.
|
|
35
|
+
|
|
36
|
+
## Dépendances
|
|
37
|
+
|
|
38
|
+
- **`@raiton/auth`** : principal, tenant, organisations et scopes.
|
|
39
|
+
- **`@raiton/compliance`** : classification, rétention, DSR et preuves.
|
|
40
|
+
- **`@raiton/trust`** : signatures qualifiées, VC et horodatage.
|
|
41
|
+
- **`@raiton/storage`** : chiffrement des objets et médias.
|
|
42
|
+
- **`@raiton/agents`** : identité, secrets d'outils et signature de traces.
|
|
43
|
+
|
|
44
|
+
## Spécifications
|
|
45
|
+
|
|
46
|
+
| Code | Spécification | Priorité | Statut |
|
|
47
|
+
|---|---|---|---|
|
|
48
|
+
| 001 | [Socle @raiton/vault](./specs/001-vault-foundation/spec.md) | P0 | Brouillon |
|
|
49
|
+
| 001-Q | [Checklist de qualité](./specs/001-vault-foundation/checklists/requirements.md) | — | Validée |
|
|
50
|
+
|
|
51
|
+
## Standard « Raiton Module 2026 »
|
|
52
|
+
|
|
53
|
+
- [x] Capacités activables et configuration validée.
|
|
54
|
+
- [x] Contrat d'adaptateur + in-memory + génération ORM.
|
|
55
|
+
- [x] Contrats schema-first → REST, OpenAPI, client, MCP, structured outputs.
|
|
56
|
+
- [x] CQRS, événements, files, outbox et idempotence.
|
|
57
|
+
- [x] CLI, diagnostic, migrations et ressources Studio.
|
|
58
|
+
- [x] Hooks vault, compliance et IA.
|
|
59
|
+
- [x] Documentation FR/EN, tests et snapshots de contrats.
|
|
60
|
+
|
|
61
|
+
## Démarrer avec SpecKit
|
|
62
|
+
|
|
63
|
+
Le scaffold `.specify/` et les skills `.agents/skills/` sont déjà présents dans le module. Les commandes se lancent depuis le dossier du module :
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Depuis le dossier du module
|
|
67
|
+
$speckit-clarify specs/001-vault-foundation/spec.md
|
|
68
|
+
$speckit-plan specs/001-vault-foundation/spec.md
|
|
69
|
+
$speckit-tasks specs/001-vault-foundation/spec.md
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Démarrage rapide
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
bun install
|
|
76
|
+
bun run typecheck
|
|
77
|
+
bun test tests
|
|
78
|
+
|
|
79
|
+
# Initialiser une application Raiton
|
|
80
|
+
bunx raiton-vault init --preset local --orm generic
|
|
81
|
+
bunx raiton-vault doctor --json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Le socle livre le cycle de vie des clés, un KMS local adossé à `node:crypto`, le chiffrement d'enveloppe, l'audit et le diagnostic. Les capacités `field`, `blind-index`, `signing`, `secrets`, `shredding`, `pki` et `pqc` sont déclarées mais refusées au démarrage tant qu'elles ne sont pas implémentées.
|
package/README.md
CHANGED
|
@@ -1,3 +1,84 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @raiton/vault — Coffre-fort cryptographique
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> Cycle de vie des clés, KMS, chiffrement de champ, signature, secrets, crypto-shredding et PKI.
|
|
4
|
+
|
|
5
|
+
**Famille** : Trust, Crypto & Compliance
|
|
6
|
+
**Framework cible** : Raiton `6.20.0-beta.41`
|
|
7
|
+
|
|
8
|
+
## Rôle
|
|
9
|
+
|
|
10
|
+
`@raiton/vault` transforme les primitives crypto de Raiton en gestion de cycle de vie : clés et versions, KMS, enveloppe DEK/KEK, chiffrement de champ, index aveugle, signature JWS/JWE/COSE, secrets, crypto-shredding, PKI, audit et feuille de route post-quantique. Il ne réimplémente aucune primitive : il orchestre des bibliothèques auditées, des KMS et des HSM derrière des contrats testables.
|
|
11
|
+
|
|
12
|
+
## Capacités
|
|
13
|
+
|
|
14
|
+
| Capacité | Description | Dépend de |
|
|
15
|
+
|---|---|---|
|
|
16
|
+
| `keys` | Génération, versioning, rotation, retrait et clés par tenant ou organisation. | — |
|
|
17
|
+
| `kms` | Adaptateurs local, AWS KMS, GCP KMS, Azure Key Vault, HashiCorp Vault et HSM. | keys |
|
|
18
|
+
| `envelope` | Chiffrement d'enveloppe DEK/KEK et chiffrement au repos. | kms |
|
|
19
|
+
| `field` | Décorateur `@Encrypted()` sur entités et DTO, mode déterministe ou aléatoire. | envelope |
|
|
20
|
+
| `blind-index` | Index aveugle pour rechercher et joindre des données chiffrées. | field |
|
|
21
|
+
| `signing` | JWS/JWE/COSE, signatures détachées et canonicalisation. | keys |
|
|
22
|
+
| `secrets` | Références de secrets, rotation, détection de fuite et lecture contrôlée. | kms |
|
|
23
|
+
| `shredding` | Crypto-shredding pour l'effacement RGPD et la preuve de destruction. | keys |
|
|
24
|
+
| `pki` | X.509, mTLS, CSR et ACME pour les certificats de service. | keys |
|
|
25
|
+
| `audit` | Usage des clés, accès, rotation et preuves d'intégrité. | keys |
|
|
26
|
+
| `pqc` | Feuille de route post-quantique : ML-KEM, ML-DSA et mode hybride. | keys |
|
|
27
|
+
|
|
28
|
+
## Surfaces
|
|
29
|
+
|
|
30
|
+
- **REST** : routes générées depuis les contrats schema-first.
|
|
31
|
+
- **GraphQL** : surface optionnelle déléguée aux mêmes handlers et gardes.
|
|
32
|
+
- **MCP** : `vault.encrypt`, `vault.decrypt`, `vault.sign`, `vault.verify`, `vault.keys`, `vault.rotate`.
|
|
33
|
+
- **CLI** : `raiton vault init`, `raiton vault rotate`, `raiton vault inspect`, `raiton vault doctor`, `raiton vault export`.
|
|
34
|
+
- **Studio** : ressources d'administration générées depuis les contrats.
|
|
35
|
+
|
|
36
|
+
## Dépendances
|
|
37
|
+
|
|
38
|
+
- **`@raiton/auth`** : principal, tenant, organisations et scopes.
|
|
39
|
+
- **`@raiton/compliance`** : classification, rétention, DSR et preuves.
|
|
40
|
+
- **`@raiton/trust`** : signatures qualifiées, VC et horodatage.
|
|
41
|
+
- **`@raiton/storage`** : chiffrement des objets et médias.
|
|
42
|
+
- **`@raiton/agents`** : identité, secrets d'outils et signature de traces.
|
|
43
|
+
|
|
44
|
+
## Spécifications
|
|
45
|
+
|
|
46
|
+
| Code | Spécification | Priorité | Statut |
|
|
47
|
+
|---|---|---|---|
|
|
48
|
+
| 001 | [Socle @raiton/vault](./specs/001-vault-foundation/spec.md) | P0 | Brouillon |
|
|
49
|
+
| 001-Q | [Checklist de qualité](./specs/001-vault-foundation/checklists/requirements.md) | — | Validée |
|
|
50
|
+
|
|
51
|
+
## Standard « Raiton Module 2026 »
|
|
52
|
+
|
|
53
|
+
- [x] Capacités activables et configuration validée.
|
|
54
|
+
- [x] Contrat d'adaptateur + in-memory + génération ORM.
|
|
55
|
+
- [x] Contrats schema-first → REST, OpenAPI, client, MCP, structured outputs.
|
|
56
|
+
- [x] CQRS, événements, files, outbox et idempotence.
|
|
57
|
+
- [x] CLI, diagnostic, migrations et ressources Studio.
|
|
58
|
+
- [x] Hooks vault, compliance et IA.
|
|
59
|
+
- [x] Documentation FR/EN, tests et snapshots de contrats.
|
|
60
|
+
|
|
61
|
+
## Démarrer avec SpecKit
|
|
62
|
+
|
|
63
|
+
Le scaffold `.specify/` et les skills `.agents/skills/` sont déjà présents dans le module. Les commandes se lancent depuis le dossier du module :
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Depuis le dossier du module
|
|
67
|
+
$speckit-clarify specs/001-vault-foundation/spec.md
|
|
68
|
+
$speckit-plan specs/001-vault-foundation/spec.md
|
|
69
|
+
$speckit-tasks specs/001-vault-foundation/spec.md
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Démarrage rapide
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
bun install
|
|
76
|
+
bun run typecheck
|
|
77
|
+
bun test tests
|
|
78
|
+
|
|
79
|
+
# Initialiser une application Raiton
|
|
80
|
+
bunx raiton-vault init --preset local --orm generic
|
|
81
|
+
bunx raiton-vault doctor --json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Le socle livre le cycle de vie des clés, un KMS local adossé à `node:crypto`, le chiffrement d'enveloppe, l'audit et le diagnostic. Les capacités `field`, `blind-index`, `signing`, `secrets`, `shredding`, `pki` et `pqc` sont déclarées mais refusées au démarrage tant qu'elles ne sont pas implémentées.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Catalogue d'erreurs — @raiton/vault
|
|
2
|
+
|
|
3
|
+
Chaque erreur publique porte un code stable, un statut HTTP cohérent et un message en français par défaut. Les codes ne varient jamais selon l'existence d'une clé, d'un secret ou d'un tenant : un refus ne doit pas révéler la ressource.
|
|
4
|
+
|
|
5
|
+
| Code | Statut | Message |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| `VAULT_CONFIG_INVALID` | 500 | La configuration du coffre est invalide. |
|
|
8
|
+
| `VAULT_CONTRACT_INCOMPATIBLE` | 500 | Le contrat du module est incompatible avec cette version du runtime. |
|
|
9
|
+
| `VAULT_CAPABILITY_UNKNOWN` | 500 | La capacité demandée est inconnue. |
|
|
10
|
+
| `VAULT_CAPABILITY_DEPENDENCY` | 500 | Une dépendance de capacité est manquante. |
|
|
11
|
+
| `VAULT_CAPABILITY_NOT_IMPLEMENTED` | 501 | Cette capacité n'est pas encore implémentée. |
|
|
12
|
+
| `VAULT_CAPABILITY_DISABLED` | 403 | Cette capacité est désactivée. |
|
|
13
|
+
| `VAULT_SECRET_MISSING` | 500 | Un secret requis est absent de l'environnement. |
|
|
14
|
+
| `VAULT_ADAPTER_MISSING` | 500 | Aucun adaptateur de persistance n'est configuré. |
|
|
15
|
+
| `VAULT_ADAPTER_INCOMPLETE` | 500 | L'adaptateur de persistance est incomplet. |
|
|
16
|
+
| `VAULT_KMS_UNAVAILABLE` | 503 | Le KMS est indisponible. |
|
|
17
|
+
| `VAULT_KMS_UNSUPPORTED` | 501 | Le KMS ne supporte pas l'opération demandée. |
|
|
18
|
+
| `VAULT_KEY_NOT_FOUND` | 404 | Clé introuvable. |
|
|
19
|
+
| `VAULT_KEY_ALIAS_CONFLICT` | 409 | Cet alias de clé est déjà utilisé. |
|
|
20
|
+
| `VAULT_KEY_DESTROYED` | 410 | Cette clé a été détruite. |
|
|
21
|
+
| `VAULT_KEY_RETIRED` | 410 | Cette clé a été retirée. |
|
|
22
|
+
| `VAULT_KEY_VERSION_NOT_FOUND` | 404 | Version de clé introuvable. |
|
|
23
|
+
| `VAULT_KEY_VERSION_MISMATCH` | 409 | La version de clé ne correspond pas à l'enveloppe. |
|
|
24
|
+
| `VAULT_KEY_USAGE_INVALID` | 422 | Cette clé ne permet pas cet usage. |
|
|
25
|
+
| `VAULT_ROTATION_FAILED` | 500 | La rotation de clé a échoué. |
|
|
26
|
+
| `VAULT_ENCRYPT_FAILED` | 500 | Le chiffrement a échoué. |
|
|
27
|
+
| `VAULT_DECRYPT_FAILED` | 500 | Le déchiffrement a échoué. |
|
|
28
|
+
| `VAULT_SIGNATURE_INVALID` | 401 | La signature est invalide. |
|
|
29
|
+
| `VAULT_TENANT_REQUIRED` | 403 | Un tenant est requis. |
|
|
30
|
+
| `VAULT_TENANT_FORBIDDEN` | 403 | Accès refusé. |
|
|
31
|
+
| `VAULT_PERMISSION_DENIED` | 403 | Permission refusée. |
|
|
32
|
+
| `VAULT_AUDIT_DISABLED` | 409 | L'audit est désactivé. |
|
|
33
|
+
| `VAULT_BUDGET_EXCEEDED` | 429 | Le quota ou le budget est dépassé. |
|
|
34
|
+
|
|
35
|
+
## VAULT_CONFIG_INVALID
|
|
36
|
+
|
|
37
|
+
Configuration absente, valeur hors bornes, capacité inconnue ou dépendance manquante. Corrigez `raiton-vault.config.json` puis exécutez `raiton vault doctor --json`.
|
|
38
|
+
|
|
39
|
+
## VAULT_CAPABILITY_NOT_IMPLEMENTED
|
|
40
|
+
|
|
41
|
+
La capacité est déclarée dans la spec mais n'est pas encore livrée dans cette révision. N'activez que les capacités listées par `raiton vault capabilities`.
|
|
42
|
+
|
|
43
|
+
## VAULT_ADAPTER_INCOMPLETE
|
|
44
|
+
|
|
45
|
+
L'adaptateur ne déclare pas toutes les capacités actives. Générez l'adaptateur ORM (`raiton vault generate`) ou utilisez `MemoryVaultAdapter` en développement.
|
|
46
|
+
|
|
47
|
+
## VAULT_KMS_UNAVAILABLE
|
|
48
|
+
|
|
49
|
+
Le matériel de clé est absent, le KMS est injoignable ou une clé a été détruite. Aucune donnée n'est retournée en clair. Vérifiez le provider et le cache de clés.
|
|
50
|
+
|
|
51
|
+
## VAULT_KEY_USAGE_INVALID
|
|
52
|
+
|
|
53
|
+
La clé existe mais son usage (`encrypt`, `sign`, etc.) ne permet pas l'opération demandée. Générez une clé dédiée à l'usage attendu.
|
|
54
|
+
|
|
55
|
+
## VAULT_DECRYPT_FAILED
|
|
56
|
+
|
|
57
|
+
L'enveloppe est corrompue, l'AAD ne correspond pas ou le matériel de clé est indisponible. Le refus est audité et ne révèle jamais la valeur.
|
package/docs/errors.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Error catalogue — @raiton/vault
|
|
2
|
+
|
|
3
|
+
Every public error carries a stable code, a coherent HTTP status and a documented remediation. Codes never vary with the existence of a key, a secret or a tenant: a refusal must not reveal the resource.
|
|
4
|
+
|
|
5
|
+
| Code | Status | Message |
|
|
6
|
+
|---|---|---|
|
|
7
|
+
| `VAULT_CONFIG_INVALID` | 500 | The vault configuration is invalid. |
|
|
8
|
+
| `VAULT_CONTRACT_INCOMPATIBLE` | 500 | The module contract is incompatible with this runtime version. |
|
|
9
|
+
| `VAULT_CAPABILITY_UNKNOWN` | 500 | The requested capability is unknown. |
|
|
10
|
+
| `VAULT_CAPABILITY_DEPENDENCY` | 500 | A capability dependency is missing. |
|
|
11
|
+
| `VAULT_CAPABILITY_NOT_IMPLEMENTED` | 501 | This capability is not implemented yet. |
|
|
12
|
+
| `VAULT_CAPABILITY_DISABLED` | 403 | This capability is disabled. |
|
|
13
|
+
| `VAULT_SECRET_MISSING` | 500 | A required secret is missing from the environment. |
|
|
14
|
+
| `VAULT_ADAPTER_MISSING` | 500 | No persistence adapter is configured. |
|
|
15
|
+
| `VAULT_ADAPTER_INCOMPLETE` | 500 | The persistence adapter is incomplete. |
|
|
16
|
+
| `VAULT_KMS_UNAVAILABLE` | 503 | The KMS is unavailable. |
|
|
17
|
+
| `VAULT_KMS_UNSUPPORTED` | 501 | The KMS does not support the requested operation. |
|
|
18
|
+
| `VAULT_KEY_NOT_FOUND` | 404 | Key not found. |
|
|
19
|
+
| `VAULT_KEY_ALIAS_CONFLICT` | 409 | This key alias is already in use. |
|
|
20
|
+
| `VAULT_KEY_DESTROYED` | 410 | This key has been destroyed. |
|
|
21
|
+
| `VAULT_KEY_RETIRED` | 410 | This key has been retired. |
|
|
22
|
+
| `VAULT_KEY_VERSION_NOT_FOUND` | 404 | Key version not found. |
|
|
23
|
+
| `VAULT_KEY_VERSION_MISMATCH` | 409 | The key version does not match the envelope. |
|
|
24
|
+
| `VAULT_KEY_USAGE_INVALID` | 422 | This key does not allow the requested usage. |
|
|
25
|
+
| `VAULT_ROTATION_FAILED` | 500 | Key rotation failed. |
|
|
26
|
+
| `VAULT_ENCRYPT_FAILED` | 500 | Encryption failed. |
|
|
27
|
+
| `VAULT_DECRYPT_FAILED` | 500 | Decryption failed. |
|
|
28
|
+
| `VAULT_SIGNATURE_INVALID` | 401 | The signature is invalid. |
|
|
29
|
+
| `VAULT_TENANT_REQUIRED` | 403 | A tenant is required. |
|
|
30
|
+
| `VAULT_TENANT_FORBIDDEN` | 403 | Access denied. |
|
|
31
|
+
| `VAULT_PERMISSION_DENIED` | 403 | Permission denied. |
|
|
32
|
+
| `VAULT_AUDIT_DISABLED` | 409 | Audit is disabled. |
|
|
33
|
+
| `VAULT_BUDGET_EXCEEDED` | 429 | The quota or budget is exceeded. |
|
|
34
|
+
|
|
35
|
+
## VAULT_CONFIG_INVALID
|
|
36
|
+
|
|
37
|
+
Missing configuration, out-of-range value, unknown capability or unresolved dependency. Fix `raiton-vault.config.json`, then run `raiton vault doctor --json`.
|
|
38
|
+
|
|
39
|
+
## VAULT_CAPABILITY_NOT_IMPLEMENTED
|
|
40
|
+
|
|
41
|
+
The capability is declared in the specification but not shipped in this revision. Enable only the capabilities reported by `raiton vault capabilities`.
|
|
42
|
+
|
|
43
|
+
## VAULT_ADAPTER_INCOMPLETE
|
|
44
|
+
|
|
45
|
+
The adapter does not declare every active capability. Generate the ORM adapter (`raiton vault generate`) or use `MemoryVaultAdapter` during development.
|
|
46
|
+
|
|
47
|
+
## VAULT_KMS_UNAVAILABLE
|
|
48
|
+
|
|
49
|
+
Key material is missing, the KMS is unreachable or a key was destroyed. No data is returned in clear text. Check the provider and the key cache.
|
|
50
|
+
|
|
51
|
+
## VAULT_KEY_USAGE_INVALID
|
|
52
|
+
|
|
53
|
+
The key exists but its usage (`encrypt`, `sign`, etc.) does not allow the requested operation. Generate a dedicated key for the expected usage.
|
|
54
|
+
|
|
55
|
+
## VAULT_DECRYPT_FAILED
|
|
56
|
+
|
|
57
|
+
The envelope is corrupted, the AAD does not match or the key material is unavailable. The refusal is audited and never reveals the value.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LocalKmsProvider,
|
|
3
|
+
MemoryVaultAdapter,
|
|
4
|
+
createVaultKernel,
|
|
5
|
+
VaultRuntime,
|
|
6
|
+
} from "../source/index.ts"
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Minimal end-to-end example.
|
|
10
|
+
*
|
|
11
|
+
* Run with: bun examples/basic.ts
|
|
12
|
+
*/
|
|
13
|
+
async function main(): Promise<void> {
|
|
14
|
+
const kernel = createVaultKernel(
|
|
15
|
+
{capabilities: ["keys", "kms", "envelope", "audit"]},
|
|
16
|
+
{adapter: new MemoryVaultAdapter(), kms: new LocalKmsProvider()},
|
|
17
|
+
)
|
|
18
|
+
VaultRuntime.use(kernel)
|
|
19
|
+
|
|
20
|
+
const {key, version} = await kernel.keys.generate({
|
|
21
|
+
alias: "customer-pii",
|
|
22
|
+
tenantId: "acme",
|
|
23
|
+
actor: {actorId: "example"},
|
|
24
|
+
})
|
|
25
|
+
console.log(`key ${key.alias} v${version.version} (${key.algorithm})`)
|
|
26
|
+
|
|
27
|
+
const envelope = await kernel.envelope.encrypt({
|
|
28
|
+
plaintext: "jean.dupont@example.com",
|
|
29
|
+
key: "customer-pii",
|
|
30
|
+
tenantId: "acme",
|
|
31
|
+
actor: {actorId: "example", tenantId: "acme"},
|
|
32
|
+
})
|
|
33
|
+
console.log(`ciphertext: ${envelope.ciphertext.slice(0, 32)}…`)
|
|
34
|
+
|
|
35
|
+
const plaintext = await kernel.envelope.decrypt({
|
|
36
|
+
envelope,
|
|
37
|
+
tenantId: "acme",
|
|
38
|
+
actor: {actorId: "example", tenantId: "acme"},
|
|
39
|
+
})
|
|
40
|
+
console.log(`plaintext: ${plaintext}`)
|
|
41
|
+
|
|
42
|
+
const rotated = await kernel.keys.rotate({
|
|
43
|
+
key: "customer-pii",
|
|
44
|
+
tenantId: "acme",
|
|
45
|
+
actor: {actorId: "example", tenantId: "acme"},
|
|
46
|
+
})
|
|
47
|
+
console.log(`rotated to v${rotated.version.version}`)
|
|
48
|
+
|
|
49
|
+
const audit = await kernel.audit.list({tenantId: "acme"})
|
|
50
|
+
console.log(`audit entries: ${audit.length}`)
|
|
51
|
+
|
|
52
|
+
const health = await kernel.health()
|
|
53
|
+
console.log(`health: ${health.status}`)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
main().catch(error => {
|
|
57
|
+
console.error(error)
|
|
58
|
+
process.exitCode = 1
|
|
59
|
+
})
|
package/llms.txt
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# @raiton/vault
|
|
2
|
+
|
|
3
|
+
Cryptographic vault for the Raiton framework: key lifecycle, KMS, envelope encryption, field encryption, signing, secrets, crypto-shredding, PKI and audit.
|
|
4
|
+
|
|
5
|
+
## Package
|
|
6
|
+
|
|
7
|
+
- Name: `@raiton/vault`
|
|
8
|
+
- Version: `0.0.1`
|
|
9
|
+
- Runtime: Bun >= 1.4, Raiton `6.20.0-beta.41`
|
|
10
|
+
- Entry point: `source/index.ts`
|
|
11
|
+
- CLI: `raiton vault ...`
|
|
12
|
+
|
|
13
|
+
## Implemented capabilities
|
|
14
|
+
|
|
15
|
+
- `keys`: generate, alias, version, rotate, destroy, tenant isolation.
|
|
16
|
+
- `kms`: `KmsProvider` contract + `LocalKmsProvider` backed by `node:crypto`.
|
|
17
|
+
- `envelope`: DEK/KEK envelope encryption with AAD binding.
|
|
18
|
+
- `audit`: actor/tenant/correlation evidence for every operation.
|
|
19
|
+
- `foundation`: validated configuration, plugin, health, CLI, CQRS contracts.
|
|
20
|
+
|
|
21
|
+
Declared but not implemented: `field`, `blind-index`, `signing`, `secrets`, `shredding`, `pki`, `pqc`. They fail closed at startup.
|
|
22
|
+
|
|
23
|
+
## Core APIs
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
createVaultKernel(config, {adapter, kms})
|
|
27
|
+
VaultRuntime.use(kernel)
|
|
28
|
+
kernel.keys.generate({alias, tenantId?, usage?, algorithm?})
|
|
29
|
+
kernel.keys.rotate({key, tenantId?})
|
|
30
|
+
kernel.keys.destroy({key, tenantId?})
|
|
31
|
+
kernel.envelope.encrypt({plaintext, key, tenantId?, aad?})
|
|
32
|
+
kernel.envelope.decrypt({envelope, tenantId?, aad?})
|
|
33
|
+
kernel.audit.list({tenantId?, action?, actorId?})
|
|
34
|
+
kernel.health()
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Commands
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
bunx raiton-vault init [--preset local|team|regulated] [--orm generic] [--dry-run]
|
|
41
|
+
bunx raiton-vault doctor [--json]
|
|
42
|
+
bunx raiton-vault capabilities [--json]
|
|
43
|
+
bunx raiton-vault inspect [--alias name] [--tenant id] [--json]
|
|
44
|
+
bunx raiton-vault rotate <key> [--tenant id] [--json]
|
|
45
|
+
bunx raiton-vault export [--out audit.json] [--json]
|
|
46
|
+
bunx raiton-vault generate [--orm prisma] [--dialect postgres] [--out dir]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Rules
|
|
50
|
+
|
|
51
|
+
- No home-made cryptography. Use `node:crypto`, audited libraries, KMS or HSM.
|
|
52
|
+
- Key material never crosses `KmsProvider` in clear text.
|
|
53
|
+
- Every sensitive operation and refusal is audited.
|
|
54
|
+
- Never log secrets or clear-text personal data.
|
package/main.console.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {defineCli} from "raiton/core"
|
|
2
|
+
import VaultCommand from "./source/commands/definitions.ts"
|
|
3
|
+
|
|
4
|
+
export default defineCli({
|
|
5
|
+
// An explicit empty packages list prevents Raiton's harvester from reading
|
|
6
|
+
// the `commands` key as a package reference on this framework version.
|
|
7
|
+
packages: [],
|
|
8
|
+
commands: [VaultCommand],
|
|
9
|
+
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,79 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raiton/vault",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Cryptographic vault for the Raiton framework: key lifecycle, KMS, envelope encryption, field encryption, signing, secrets, crypto-shredding, PKI and audit.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/protorians/raiton-vault.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/protorians/raiton-vault#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/protorians/raiton-vault/issues"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "./source/index.ts",
|
|
15
|
+
"types": "./source/index.ts",
|
|
16
|
+
"bin": {
|
|
17
|
+
"raiton-vault": "source/bin/index.ts"
|
|
18
|
+
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": "./source/index.ts",
|
|
21
|
+
"./core": "./source/index.ts",
|
|
22
|
+
"./contracts": "./source/contracts.ts",
|
|
23
|
+
"./plugin": "./source/plugin.ts",
|
|
24
|
+
"./cli": "./source/bin/index.ts",
|
|
25
|
+
"./commands/*": "./source/commands/*.ts",
|
|
26
|
+
"./decorators": "./source/decorators.ts",
|
|
27
|
+
"./adapters/memory": "./source/adapters/memory.ts",
|
|
28
|
+
"./adapters/local-kms": "./source/adapters/local-kms.ts",
|
|
29
|
+
"./persistence": "./source/persistence/generator.ts",
|
|
30
|
+
"./commands/definitions": "./source/commands/definitions.ts"
|
|
31
|
+
},
|
|
32
|
+
"raiton": {
|
|
33
|
+
"cli": "./main.console.ts",
|
|
34
|
+
"artifacts": "./source/artifacts.ts"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"source",
|
|
38
|
+
"main.console.ts",
|
|
39
|
+
"README.md",
|
|
40
|
+
"README.fr.md",
|
|
41
|
+
"README.en.md",
|
|
42
|
+
"CHANGELOG.md",
|
|
43
|
+
"docs",
|
|
44
|
+
"llms.txt",
|
|
45
|
+
"AGENTS.md",
|
|
46
|
+
"examples"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"test": "bun test tests",
|
|
50
|
+
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"commander": "^14.0.2",
|
|
54
|
+
"inquirer": "^14.3.1",
|
|
55
|
+
"reflect-metadata": "^0.2.2"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/bun": "^1.4.2",
|
|
59
|
+
"raiton": "^6.20.0-beta.41",
|
|
60
|
+
"typescript": "^7.0.2"
|
|
61
|
+
},
|
|
62
|
+
"engines": {
|
|
63
|
+
"bun": ">=1.4.0"
|
|
64
|
+
},
|
|
65
|
+
"license": "MIT",
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@raiton/auth": "^0.1.1",
|
|
68
|
+
"@raiton/compliance": "^0.1.0",
|
|
69
|
+
"raiton": "^6.20.0-beta.41"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"@raiton/auth": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"@raiton/compliance": {
|
|
76
|
+
"optional": true
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|