Skip to content

feat(cdk-mintd): move remote signatory config into its own section#2141

Open
prusnak wants to merge 2 commits into
cashubtc:mainfrom
prusnak:cdk-mintd-explicit-insecure-signatory
Open

feat(cdk-mintd): move remote signatory config into its own section#2141
prusnak wants to merge 2 commits into
cashubtc:mainfrom
prusnak:cdk-mintd-explicit-insecure-signatory

Conversation

@prusnak

@prusnak prusnak commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Replace the old [info] signatory URL/certs fields with a dedicated [signatory] section using addr, port, tls_dir, and allow_insecure - copying the config layout for mint_management_rpc / grpc_processor.

Require an explicit allow_insecure=true when connecting to a remote signatory without TLS, and update the signatory client constructor to build its endpoint from addr/port. Update env vars, example config, and integration fixtures to use the new shape.

Add README.md to cdk-signatory.

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 63.63636% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.61%. Comparing base (1764d32) to head (b75faac).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
crates/cdk-mintd/src/lib.rs 62.06% 11 Missing ⚠️
crates/cdk-mintd/src/env_vars/signatory.rs 68.00% 8 Missing ⚠️
...s/cdk-integration-tests/src/bin/start_fake_mint.rs 0.00% 6 Missing ⚠️
crates/cdk-signatory/src/proto/client.rs 0.00% 3 Missing ⚠️
crates/cdk-integration-tests/src/shared.rs 0.00% 2 Missing ⚠️
crates/cdk-mintd/src/config.rs 93.33% 1 Missing ⚠️
crates/cdk-mintd/src/env_vars/mod.rs 87.50% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2141   +/-   ##
=======================================
  Coverage   71.60%   71.61%           
=======================================
  Files         356      357    +1     
  Lines       74106    74180   +74     
=======================================
+ Hits        53065    53121   +56     
- Misses      21041    21059   +18     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

prusnak added 2 commits June 23, 2026 11:41
Replace the old [info] signatory URL/certs fields with a dedicated
[signatory] section using addr, port, tls_dir, and allow_insecure.

Require an explicit allow_insecure=true when connecting to a remote signatory
without TLS, and update the signatory client constructor to build its endpoint
from addr/port. Update env vars, example config, and integration fixtures to
use the new shape.
@prusnak prusnak force-pushed the cdk-mintd-explicit-insecure-signatory branch from 4b27fcd to b75faac Compare June 23, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant