22 Commits

Author SHA1 Message Date
Jesús Pérez
6bd3be0350
feat(events): add NATS event bus for vault lifecycle notifications
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Introduces a `nats` feature-gated event system that publishes
  lease lifecycle events (issued, revoked, revocation_failed) to NATS
  subjects under a configurable prefix.

  - Add `VaultEvent` enum with serde tag-based serialization
  - Add `VaultEventPublisher` with best-effort fire-and-forget semantics
  - Add `NatsVaultConfig` with sensible defaults (disabled by default)
  - Wire `VaultEventPublisher` into `LeaseRevocationWorker`
  - Gate all event code behind `#[cfg(feature = "nats")]`
2026-02-27 00:20:50 +00:00
Jesús Pérez
0c01da9b14
feat(storage): replace fake SurrealDB backend with real Surreal<Any>
SurrealDBBackend was backed by Arc<RwLock<HashMap>> — no connection to
  SurrealDB whatsoever. Rewrite to a real Surreal<Any> connection:

  - engine::any dispatch: mem:// (embedded, tests) and ws://wss:// (prod)
  - All 11 StorageBackend methods: SurrealQL upsert/select/delete/query
  - Vec<u8> fields base64-encoded; timestamps as RFC3339 UTC strings
  - MVCC write-conflict retry: exponential backoff 5ms→80ms + uniform
    jitter, 5 attempts — resolves SurrealDB optimistic-concurrency errors
    under concurrent load without external locking
  - Mirror ID fields in records to avoid RecordId enum parsing in lists
  - 9 unit tests (mem://, no server) + 19 integration tests with UUID
    database isolation; concurrent coverage: 16 secret + 8 key writers
2026-02-17 21:38:06 +00:00
Jesús Pérez
239197771a
chore: fix Dockerfile
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
2026-02-14 05:11:12 +00:00
Jesús Pérez
18d9d41c34
chore: update creates
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
2026-02-03 22:04:51 +00:00
Jesús Pérez
91eefc86fa
chore: upgrade README and add CHANGELOG with production PQC status
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
- Add badges, competitive comparison, and 30-sec demo to README
  - Add Production Status section showing OQS backend is production-ready
  - Mark PQC KEM/signing operations complete in roadmap
  - Fix GitHub URL
  - Create CHANGELOG.md documenting all recent changes

  Positions SecretumVault as first Rust vault with production PQC.
2026-01-21 10:45:44 +00:00
Jesús Pérez
2e92472fe7
chore: review AES warning genericArray
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
2026-01-14 21:37:16 +00:00
Jesús Pérez
c12779cde5
chore: fix ci md lint
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
2026-01-11 23:22:13 +00:00
Jesús Pérez
32a4ba8ac6
chore: fix md lint
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
2026-01-11 23:19:08 +00:00
Jesús Pérez
959bfbcb3d
chore: fix md lint 2026-01-11 23:12:38 +00:00
Jesús Pérez
2cc472b0bf
chore: use +nightly for cargo fmt and fix pre-commit a just recipes
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
2025-12-29 05:04:53 +00:00
Jesús Pérez
13af9fa932
chore: add pre-commit git hook
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
2025-12-29 04:29:15 +00:00
Jesús Pérez
ac45b419de
chore: add pre-commit git hook 2025-12-29 04:28:28 +00:00
Jesús Pérez
196c70d840
chore: add CI/CD files and .typedialog for ci settings 2025-12-29 04:19:26 +00:00
Jesús Pérez
76cd35c36b
chore: fix arch graph 2025-12-26 15:48:32 +00:00
Jesús Pérez
510d87f462
chore: fix arch graph 2025-12-26 15:37:14 +00:00
Jesús Pérez
88697f5562
chore: update ignore 2025-12-26 15:14:03 +00:00
Jesús Pérez
46fc83d000
chore: reorganization compliance: layout_conventions 2025-12-26 15:13:36 +00:00
Jesús Pérez
56a5a21aa9
chore: imgs logos and branding 2025-12-23 00:02:41 +00:00
Jesús Pérez
4ad131e2ad
chore: fix logos 2025-12-22 22:02:53 +00:00
Jesús Pérez
09d94ad798
chore: fix logos 2025-12-22 21:58:06 +00:00
Jesús Pérez
914c5f767d
chore: source code, docs and tools 2025-12-22 21:34:01 +00:00
Jesús Pérez
b66731a004 chore: init repo 2025-12-22 19:42:49 +00:00