The Void: Secure Secrets Store
Relevant source files
The following files were used as context for generating this wiki page:
The Void is the most secure component of the Infinity OS platform, designed to serve as a zero-knowledge, quantum-safe secret storage system. It utilizes advanced cryptographic techniques, including Shamir's Secret Sharing and post-quantum encryption, to ensure that platform secrets remain secure even against single-party compromises or future quantum computing threats.
As a core part of the Platform Core architecture, The Void integrates with Infinity-One, The Lighthouse, and The HIVE to provide a unified security and identity backbone. It is responsible for storing credentials, encryption keys, and sensitive configuration data using a distributed 5-of-9 threshold scheme across geo-distributed regions.
Sources: README.md:164-167, README.md:16-20, PLATFORM_ARCHITECTURE_ANALYSIS.md:94-96
Architecture and Security Model
The Void operates on a Zero Trust and Zero-Knowledge model. Secrets are never stored in their entirety in a single location; instead, they are split into shards using Shamir's Secret Sharing. Accessing a secret requires a threshold of shard holders to collaborate, preventing unauthorized access by any single entity.
Multi-Layered Security
The system enforces security at several levels:
- Cryptographic Level: Uses ML-KEM-1024 for high-classification secrets and hybrid schemes for transitional security.
- Threshold Level: A 5-of-9 Shamir threshold scheme ensures that even if several shard holders are compromised, the secret remains protected.
- Distribution Level: Shards are distributed across hardware security modules (HSM), Cloudflare KV, Supabase Vault, and cold storage across nine global regions.
Sources: README.md:166-173, infinity-os/architecture.html:629-634
Data Flow for Secret Access
The following diagram illustrates the verification and retrieval process for a secret within The Void.
This diagram shows the cross-system dependencies required to validate a request before The Void reconstructs a secret.
Sources: README.md:214-222, README.md:167-175
Secret Classification and Encryption
The Void categorizes secrets into six distinct levels, each mapped to specific cryptographic algorithms and access requirements. This classification ensures that higher-sensitivity data receives more robust protection, including post-quantum algorithms.
Classification Matrix
| Classification | Algorithm | Key Size | Use Case |
|---|---|---|---|
| INTERNAL | AES-256-GCM | 256-bit | Standard user preferences |
| CONFIDENTIAL | ChaCha20-Poly1305 | 256-bit | Authorised role data |
| CLASSIFIED | Hybrid-X25519-MLKEM-768 | 768-bit | Admin keys / explicit grants |
| VOID | ML-KEM-1024 | 1024-bit | Platform core secrets |
| QUANTUM | ML-KEM-1024 + SLH-DSA-256 | 1024-bit | Future-proof platform keys |
| NEURAL | SLH-DSA-256 / SPHINCS+ | 256-bit | Neural interface credentials |
Sources: README.md:195-202, README.md:126-134
Distributed Shard Management
To ensure high availability and prevent single-point-of-failure attacks, The Void distributes secret shards across nine distinct holders in different geographical regions.
| Holder | Type | Region |
|---|---|---|
| HSM-Primary | Hardware Security Module | us-east-1 |
| HSM-Secondary | Hardware Security Module | eu-west-1 |
| CF-KV-1 | Cloudflare KV | us-west-2 |
| CF-KV-2 | Cloudflare KV | ap-southeast-1 |
| Supabase-1 | Supabase Vault | eu-central-1 |
| Supabase-2 | Supabase Vault | ap-northeast-1 |
| Offline-1 | Cold Storage | sa-east-1 |
| Offline-2 | Cold Storage | af-south-1 |
| Offline-3 | Cold Storage | me-south-1 |
Sources: README.md:182-193, PLATFORM_ARCHITECTURE_ANALYSIS.md:94-100
Key Features
The Void includes specialized mechanisms for secret lifecycle management and emergency operations:
- Crypto-Shredding: Complies with GDPR "right to erasure" by destroying the encryption keys for specific users, rendering their data permanently unrecoverable.
- Multi-Party Computation (MPC): Uses FROST threshold signatures for distributed key operations, ensuring no single server ever sees a full private key.
- Break-Glass Access: Provides a monitored emergency access procedure requiring a mandatory reason, which triggers automatic rotation and a full audit trail.
- Rotation Strategies: Supports various rotation methods including
IMMEDIATE,GRACEFUL,DUAL_ACTIVE,BLUE_GREEN, andCANARY.
Sources: README.md:173-178, compliance/SECURITY_POLICY.md:112-115
Technical Implementation Details
The Void is implemented as a Cloudflare Worker and a core TypeScript package. It relies on the jose library for JWT/JWS operations and zod for schema validation.
{
"name": "@trancendos/void",
"version": "1.0.0",
"dependencies": {
"zod": "^3.22.4",
"jose": "^5.2.0"
},
"keywords": ["void", "secrets", "zero-knowledge", "quantum-safe", "shamir", "mpc", "vault"]
}
Sources: packages/void/package.json:2-15
Database Schema (void schema)
The platform uses a dedicated PostgreSQL schema in Supabase for Void-related metadata and audit logs.
| Table | Description |
|---|---|
secrets | Metadata for stored secrets (shards are stored elsewhere). |
secret_audit_log | Immutable log of all secret access and modifications. |
master_keys | Encrypted master key references. |
mpc_sessions | Active multi-party computation session data. |
Sources: README.md:330-334, compliance/STATEMENT_OF_APPLICABILITY.md:22
Conclusion
The Void serves as the ultimate "safe" for Infinity OS, providing a sophisticated defense-in-depth strategy for secret management. By combining post-quantum cryptography with geo-distributed Shamir sharding and zero-knowledge proofs, it ensures the platform's sensitive assets are protected against both contemporary and future security threats.