Skip to content

Redact password in cached RPC URLs.#2531

Merged
fnando merged 1 commit into
mainfrom
actionlog-redact-rpc-url-password
Apr 30, 2026
Merged

Redact password in cached RPC URLs.#2531
fnando merged 1 commit into
mainfrom
actionlog-redact-rpc-url-password

Conversation

@fnando
Copy link
Copy Markdown
Member

@fnando fnando commented Apr 29, 2026

What

Redact password in cached RPC URLs.

Why

Close https://github.com/stellar/stellar-cli-internal/issues/76

Known limitations

N/A

@fnando fnando self-assigned this Apr 29, 2026
Copilot AI review requested due to automatic review settings April 29, 2026 23:59
@fnando fnando added this to DevX Apr 29, 2026
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Apr 29, 2026
@fnando fnando moved this from Backlog (Not Ready) to Needs Review in DevX Apr 30, 2026
@fnando fnando enabled auto-merge (squash) April 30, 2026 00:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Redacts embedded passwords in RPC URLs when writing cached action-log entries, preventing credentials from being persisted to disk in the action-log cache.

Changes:

  • Redact URL password component before serializing rpc_url into the action-log JSON.
  • Add a helper to perform URL userinfo/password redaction.
  • Expand/adjust tests to verify redaction behavior and avoid env var leakage via with_env_set.

Comment thread cmd/soroban-cli/src/config/data.rs
Comment thread cmd/soroban-cli/src/config/data.rs
@fnando fnando merged commit c6557d3 into main Apr 30, 2026
215 checks passed
@fnando fnando deleted the actionlog-redact-rpc-url-password branch April 30, 2026 00:17
@github-project-automation github-project-automation Bot moved this from Needs Review to Done in DevX Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants