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 sever and client keys to eventbus #8698

Merged
merged 4 commits into from
Sep 21, 2020

Conversation

raju249
Copy link
Member

@raju249 raju249 commented Sep 15, 2020

Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it

Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.

Description

Fixes #7856

Motivation and Context

We had an unsecured implementation of zeromq, this PR adds security by using the CurveMQ server and client keys and certificates.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Member

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

Question: I assume that it won't be necessary to share keys between event bus instances on different machines?


import javax.swing.plaf.ColorUIResource;
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a mistaken import. Please remove.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @shs96c !

Removed the unused import.

For the question: I assumed the same. @adamgoucher can shed some light?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think so. the 0mq bus is something we control 100% and this is just a secure default. (I expect most large implementations will use a different bus anyways)

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @adamgoucher

@AutomatedTester AutomatedTester merged commit b03e108 into SeleniumHQ:trunk Sep 21, 2020
shs96c added a commit that referenced this pull request Sep 21, 2020
This reverts commit b03e108.

This is because it caused the EndToEndTest to fail, which means we
can't actually spin up a Grid.
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.

Grid: secure 0mq
4 participants