Skip to content

Tighten OpenSecret startup configuration error handling - #1029

Merged
AnthonyRonning merged 2 commits into
masterfrom
fix/opensecret-config-url-errors
Sep 24, 2026
Merged

AnthonyRonning merged 2 commits into
masterfrom
fix/opensecret-config-url-errors

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Summary

  • Return fixed startup errors for malformed decrypted database and SQS queue URLs.
  • Remove raw credential, secret-response, command-output, and host-file logging from the enclave bootstrap path.
  • Keep only concise, value-free failure messages at those startup stages.

Compatibility

Enclave-mode database URLs are validated as postgres or postgresql URLs with a host. SQS queue URLs are validated as http or https URLs with a host. The original URL text is passed through unchanged when valid.

Validation

  • Pinned OpenSecret cargo fmt --all -- --check
  • Pinned OpenSecret Clippy with all targets, all features, and warnings denied
  • Pinned OpenSecret full Rust suite: 729 passed, 32 ignored
  • bash -n services/opensecret/entrypoint.sh
  • bash services/opensecret/tests/entrypoint_entropy_preflight.sh

@AnthonyRonning
AnthonyRonning merged commit dbd287b into master Sep 24, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant