Skip to content

maintenance: allow multiple client ca files#35

Merged
tschaefer merged 1 commit intomainfrom
tschaefer/feature/client-management
Feb 20, 2026
Merged

maintenance: allow multiple client ca files#35
tschaefer merged 1 commit intomainfrom
tschaefer/feature/client-management

Conversation

@tschaefer
Copy link
Owner

No description provided.

Copy link

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

Updates the gRPC mTLS authentication flow to support validating a client certificate against multiple CA certificates stored as separate PEM files, rather than a single CA PEM file.

Changes:

  • Change CA location from a single file path to a CA directory (certs.d) containing multiple *.pem files.
  • Update authentication to glob CA PEM files and accept the client cert if any CA validates it.
  • Adjust tests to create a CA directory and write a CA PEM file into it.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
internal/grpc/auth.go Switches CA lookup to a directory + *.pem glob; validates client cert against each CA file.
internal/grpc/auth_test.go Updates test fixture setup to create CA directory and write CA PEM file into it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tschaefer tschaefer force-pushed the tschaefer/feature/client-management branch from 2ad7964 to 1c39745 Compare February 20, 2026 14:16
@tschaefer tschaefer marked this pull request as ready for review February 20, 2026 17:48
@tschaefer tschaefer merged commit 977c925 into main Feb 20, 2026
2 checks passed
@tschaefer tschaefer deleted the tschaefer/feature/client-management branch February 20, 2026 17:48
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