321ab22111
Bumps the ZB.MOM.WW.Secrets family from 0.3.0 to 0.4.0 and adds the new ZB.MOM.WW.Secrets.Replicator.Grpc package to the packable set. Publishes all six 0.4.0 nupkgs to the dohertj2-gitea feed and restore-verifies the new package resolves from it in a fresh --packages directory. Existing packages are behaviorally unchanged — no breaking changes. Adds ZB.MOM.WW.Secrets/CHANGELOG.md (none existed previously) to record this and prior releases, and lists the new package in README.md's Packages table. Also includes the controller's pending ledger updates for docs/plans/2026-08-07-secrets-grpc-hub-implementation.md (Tasks 1-4 and 8 marked completed). Claude-Session: https://claude.ai/code/session_014WNM4vjoVksyyBraTXSZE1
3.4 KiB
3.4 KiB
Changelog
All notable changes to the ZB.MOM.WW.Secrets family are recorded here. Format loosely
follows Keep a Changelog; versions are shared across every
package in the family (see Directory.Build.props) even when a given release only touches
one of them.
0.4.0 — 2026-08-07
Added
- New package
ZB.MOM.WW.Secrets.Replicator.Grpc— a central-hostedsecrets_hub.v1gRPC hub for the sites-talk-to-central production topology (scadaproj#3; design docdocs/plans/2026-08-07-secrets-production-topology-and-grpc-hub.md).- Pull-only by construction: the proto exposes no write RPC. Updates originate at central only; a site never pushes a secret upstream.
- Fail-closed bearer auth on the hub server: constant-time comparison, uniform denial response (no signal distinguishing "wrong token" from "missing token"), a warn-once log on an unconfigured/empty token rather than a silent open door.
GetSecretsenforces a batch-size cap, rejecting an oversized request withResourceExhaustedinstead of serving it partially or unbounded.- Site-side
GrpcSecretSyncServicesweeps the hub on an interval with per-row parse isolation — one malformed/undecryptable row logs and is skipped, it does not fault the whole sweep. - Keyed
GrpcChannelregistration so multiple hub targets can be wired in one process without channel collisions. - Offline behavior is last-known-good: if the hub is unreachable, the site keeps serving the most recently synced values rather than failing secret resolution.
Unchanged
ZB.MOM.WW.Secrets.Abstractions,ZB.MOM.WW.Secrets,ZB.MOM.WW.Secrets.Ui,ZB.MOM.WW.Secrets.Replicator.SqlServer, andZB.MOM.WW.Secrets.Replicator.AkkaDotNetare behaviorally unchanged in this release — no breaking changes to any existing package.
0.3.0 — 2026-07-19
- Menu-driven Spectre.Console interactive operator console added to the
secretCLI (list / set / reveal / delete, reference audit & seed, KEK doctor, ciphertext-only bundle export/import). Seedocs/operations/interactive-console.md.
0.2.3 — 2026-07-19
ZB.MOM.WW.Secrets.Ui: fixed the delete-confirmation modal being permanently invisible on every Bootstrap host (ConfirmDeleteModalused bareclass="modal"with no shipped CSS; Bootstrap's.modal{display:none}hid it everywhere but mxaccessgw). Fixed via azb-secrets-modal*class rename plus a component-emitted<style>block.
0.2.2 — 2026-07-18
- Fixed the Akka replicator's hosted-process DI deadlock (a circular singleton dependency
hidden behind factory lambdas that MS.DI's
StackGuardturned into a silent cross-thread hang rather than a stack overflow). NewDeferredSecretCacheInvalidatordefers the one cycle-closing edge to first eviction.
0.2.1 — 2026-07-18
- Fixed the Akka replicator being silently inert since 0.2.0 (a
TryAddregistration-order bug published into a no-op sink and never spawned an actor). SQL-Server replication was never affected.
0.2.0 — 2026-07-18
- Added clustered replication (G-7):
ZB.MOM.WW.Secrets.Replicator.SqlServer(shared store, or local-store-with-hub) andZB.MOM.WW.Secrets.Replicator.AkkaDotNet(peer-to-peer over distributed pub/sub).