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

Add server auth interceptor #2948

Merged
merged 102 commits into from
Apr 29, 2024
Merged

Add server auth interceptor #2948

merged 102 commits into from
Apr 29, 2024

Conversation

danielnugraha
Copy link
Contributor

@danielnugraha danielnugraha commented Feb 14, 2024

Issue

Description

Client authentication is needed to only let known clients to participate in federated learning.

Related issues/PRs

Proposal

Explanation

Extend state to store known client public keys and server private and public key.
Add server interceptor to handle authentication logic from info sent in metadata.
Add tests to make sure server interceptor works as intended.

Checklist

  • Implement proposed change
  • Write tests
  • Update documentation
  • Update the changelog entry below
  • Make CI checks pass
  • Ping maintainers on Slack (channel #contributions)

Changelog entry

Any other comments?

@danielnugraha danielnugraha marked this pull request as ready for review February 15, 2024 16:48
@danieljanes danieljanes enabled auto-merge (squash) April 29, 2024 13:11
@danieljanes danieljanes merged commit 2fc2410 into main Apr 29, 2024
27 checks passed
@danieljanes danieljanes deleted the add-server-auth-interceptor branch April 29, 2024 13:18
mohammadnaseri pushed a commit that referenced this pull request May 2, 2024
Co-authored-by: jafermarq <javier@flower.ai>
Co-authored-by: Daniel J. Beutel <daniel@flower.ai>
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.

5 participants