Skip to content

Refactor signing code out of zone_signer.rs#718

Merged
bal-e merged 7 commits into
mainfrom
refactor-key-loading
Jul 7, 2026
Merged

Refactor signing code out of zone_signer.rs#718
bal-e merged 7 commits into
mainfrom
refactor-key-loading

Conversation

@bal-e

@bal-e bal-e commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

While working on #630 I noticed key loading functionality was distributed throughout zone_signer.rs and thought it nice to move it to a dedicated file. Along the way, I cleaned up some error messages, and turned some panics into signing failures (related to the client credentials store).

This PR also includes #865. Together, they move the vast majority of functionality out of zone_signer.rs.


  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):
    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

@bal-e bal-e self-assigned this Jun 8, 2026
@bal-e
bal-e force-pushed the refactor-key-loading branch from ed5782f to 7ebe8a4 Compare June 8, 2026 11:32
Comment thread src/units/zone_signer.rs
@bal-e
bal-e requested a review from ximon18 June 8, 2026 13:58
@bal-e
bal-e force-pushed the refactor-key-loading branch from 99d5a39 to 5d6c5d8 Compare July 3, 2026 15:17

@ximon18 ximon18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like this a lot. I just noted a couple of minor things I wanted to raise, see my comments, but they are not blocking.

Comment thread src/units/zone_signer.rs
Comment thread src/signer/keys.rs Outdated
@bal-e
bal-e requested a review from ximon18 July 7, 2026 11:27
@bal-e bal-e changed the title [zone_signer] Refactor key loading to signer/keys.rs Refactor signing code out of zone_signer.rs Jul 7, 2026
@bal-e
bal-e merged commit e94cf35 into main Jul 7, 2026
9 checks passed
@bal-e
bal-e deleted the refactor-key-loading branch July 7, 2026 11:58
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.

2 participants