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

Use RSA instead of DSA to prevent errors on recent JDK updates #3219

Merged

Conversation

paraita
Copy link
Contributor

@paraita paraita commented May 15, 2018

Will stabilize SSH functional tests described in #3218

@paraita paraita requested review from fviale and jrochas May 15, 2018 07:09
@@ -122,7 +122,9 @@ public static void startSSHServer() throws Exception {

sshd = SshServer.setUpDefaultServer();

sshd.setKeyPairProvider(new SimpleGeneratorHostKeyProvider());
SimpleGeneratorHostKeyProvider keyProvider = new SimpleGeneratorHostKeyProvider();
keyProvider.setAlgorithm("RSA");
Copy link
Contributor

Choose a reason for hiding this comment

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

RSA-??? . I'm just curious to know whether or not you can specify the number of bits.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep it's possible !

@paraita paraita merged commit 721a7b2 into ow2-proactive:master Jun 13, 2018
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.

4 participants