Skip to content

[PSBT Covenant] Harden covenant signer service exposure#3887

Merged
mswilkison merged 5 commits intofeat/psbt-covenant-final-project-prfrom
codex/psbt-covenant-signer-hardening
Mar 10, 2026
Merged

[PSBT Covenant] Harden covenant signer service exposure#3887
mswilkison merged 5 commits intofeat/psbt-covenant-final-project-prfrom
codex/psbt-covenant-signer-hardening

Conversation

@mswilkison
Copy link

Summary

  • default the covenant signer HTTP listener to loopback and require a bearer auth token for non-loopback exposure
  • stop holding the submit mutex across engine.OnSubmit so deduped callers are not serialized behind long signer work
  • add focused tests for auth enforcement, config flags, and in-flight submit dedupe semantics

Testing

  • go test ./pkg/covenantsigner -count=1
  • go test ./pkg/tbtc -run 'TestCovenantSignerEngine_' -count=1
  • go test ./cmd -count=1

@mswilkison mswilkison merged commit 6baadb2 into feat/psbt-covenant-final-project-pr Mar 10, 2026
15 checks passed
@mswilkison mswilkison deleted the codex/psbt-covenant-signer-hardening branch March 10, 2026 22:52
@mswilkison mswilkison restored the codex/psbt-covenant-signer-hardening branch March 12, 2026 16:39
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