feat(registry-server): add configurable registry runtime - #824
Draft
jeremi wants to merge 21 commits into
Draft
Conversation
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
| from cryptography.hazmat.primitives.asymmetric import ed25519 | ||
| from cryptography.x509.oid import NameOID | ||
|
|
||
| from key_material import b64, ed25519_jwk, p256_jwk, write, write_secret |
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Summary
Adds the first configurable Registry Server runtime and its operator CLI.
registry-serverandregistry-serverctlfor compiling, testing, packaging, applying, verifying, and serving governed registry projects.project lock, type-correct query examples, safe runtime defaults, generated contract checks, and a CI-gated quickstart smoke journey.Checks
RegistryStack CIrun33333242109passed in full on commitf806b222f, including:products/registry-server/quickstart/run.sh --smokeproducts/registry-server/scripts/test-adopter-workflow.shproducts/registry-server/scripts/test-postgres-tls.shproducts/registry-server/scripts/check-contracts.shcargo test --locked -p registry-server --features runtime,tooling,schemacargo test --locked -p registry-serverctlcargo test --locked -p registry-platform-configcargo clippy --locked -p registry-server --features runtime,tooling,postgres-test,schema --all-targets -- -D warningscargo clippy --locked -p registry-serverctl -p registry-platform-config --all-targets -- -D warningscargo fmt --all -- --checkpython3 .github/scripts/test_ci_changes.pywithRUSTC_WRAPPER=(65 passed)git diff --checkSecurity and platform reuse
This adds a writable sensitive-data trust boundary. Registry authority remains finite and configuration-driven: required scopes, purposes, principal constraints, row boundaries, readable and writable fields, and operations are compiled into access grants. Invalid bearer credentials fail closed without anonymous downgrade. Audit attempts and terminal records carry server-owned request and trace correlation, and protected responses remain audit-gated.
Runtime configuration separates operational tuning from governed authority, rejects inline database credentials and unsafe plaintext posture, and resolves exact typed secret references through
registry-platform-config. OIDC, audit envelopes, HTTP security/problem details, tracing, canonical JSON, and webhook destination confinement use existing platform crates rather than product-local copies.Unsigned local packages intentionally receive no trust-anchor authority. Production package verification continues to use the configured trust anchor. Projection-free packages omit Manifest artifacts from their signed closure and reject falsely claimed or stale artifacts.
The database schema and public API are new pre-1.0 surfaces. The PR remains draft while maintainers review naming, contract shape, and migration compatibility before merge.
DCO
Signed-off-bytrailer.