Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce a mechanism for relearning the aggregator certificate #1303

Conversation

yontyon
Copy link
Contributor

@yontyon yontyon commented Jan 23, 2025

In reality, the aggregator may restart and come up with new TLS certificate. For that, it is not enough to retry on the wrapper/interceptor level, but we also need to fetch the latest cert.
This PR introduces a mechanism for:

  1. registering a callback for fetching the aggregator's latest cert
  2. instead of intercepting and retrying on the channel itself (which prevents us from refreshing it), we retry on the wrapper level

Signed-off-by: Buchnik, Yehonatan <[email protected]>
Copy link
Collaborator

@teoparvanov teoparvanov left a comment

Choose a reason for hiding this comment

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

Hi @yontyon , I have a couple of comments from my first review pass:

openfl/transport/grpc/aggregator_client.py Show resolved Hide resolved
openfl/transport/grpc/aggregator_client.py Show resolved Hide resolved
@teoparvanov teoparvanov requested a review from psfoley January 23, 2025 11:02
Signed-off-by: Buchnik, Yehonatan <[email protected]>
@teoparvanov teoparvanov merged commit d83a05c into securefederatedai:develop Jan 24, 2025
23 checks passed
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.

3 participants