Keep development keyserver auth local#38
Closed
YoungJinJung wants to merge 2 commits into
Closed
Conversation
Add the local keyserver service, CLI publish/login/fetch commands, compose smoke wiring, and tests as a reviewable baseline for the security hardening work stacked above it. Constraint: Security fixes for issues #30-#34 target files that are not yet present on main. Rejected: Fold all security fixes into one PR | would make review and issue closure harder. Confidence: medium Scope-risk: broad Directive: Review this foundation before merging stacked hardening PRs into main. Tested: PYTHONPATH=. python3 -m unittest discover keyserver/tests; env -u GOROOT -u GOPATH /opt/homebrew/bin/go test ./... Not-tested: Docker compose smoke test was not run locally.
The compose smoke service still needs an all-interface bind inside the container, but host exposure is now loopback-only and runtime startup rejects dev auth on non-loopback binds unless an explicit unsafe override is set. Constraint: Compose smoke must remain able to reach the keyserver container. Rejected: Bind the container service to 127.0.0.1 | peer smoke container would not be able to connect over the compose network. Confidence: high Scope-risk: narrow Directive: Do not enable ENDE_KEYSERVER_DEV_AUTH on a shared interface without an explicit unsafe test-only override. Tested: PYTHONPATH=. python3 -m unittest discover keyserver/tests; env -u GOROOT -u GOPATH /opt/homebrew/bin/go test ./... Related: #33
Contributor
There was a problem hiding this comment.
The security improvements in this PR are well-implemented. The runtime guard correctly restricts dev-mode authentication to loopback binds by default, with proper override mechanisms for testing scenarios. The implementation includes comprehensive test coverage and clear documentation. No blocking issues identified.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
Contributor
Author
|
Closing because this was opened against the wrong repository. The security triage is being redone against companyjupiter/quarkify. |
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.
Summary
Closes #33.
Validation
PYTHONPATH=. python3 -m unittest discover keyserver/testsenv -u GOROOT -u GOPATH /opt/homebrew/bin/go test ./...