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

Move BCrypt class to avoid conflict with org.mindrot:jbcrypt #717

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

exceptionfactory
Copy link
Contributor

As described in issue #706, the class name of org.mindrot.jbcrypt.BCrypt conflicts with a class of the same name in the original org.mindrot:jbcrypt library. With the SSHJ BCrypt class implementing the additional pbkdf() method, the two classes are not interchangeable. Relocating the BCrypt class under the com.hierynomus.sshj package structure avoids class path conflicts in applications that have dependencies on both SSHJ and JBcrypt libraries. Additional changes include renaming and updating the BCryptTest class to use standard JUnit Test annotations.

- Renamed BCryptTest and updated using JUnit Test annotations
Copy link
Owner

@hierynomus hierynomus left a comment

Choose a reason for hiding this comment

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

Makes sense!

@hierynomus hierynomus merged commit 6f98737 into hierynomus:master Sep 2, 2021
@hierynomus hierynomus mentioned this pull request Sep 2, 2021
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