FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add additional tests from OpenWall implementation sources by Oscil8 · Pull Request #84 · bcrypt-ruby/bcrypt-ruby · GitHub

Repository navigation

Add additional tests from OpenWall implementation sources - #84

Closed
Oscil8 wants to merge 1 commit into
bcrypt-ruby:masterfrom
Oscil8:master
Closed

Oscil8 wants to merge 1 commit into
bcrypt-ruby:masterfrom
Oscil8:master

Conversation

Oscil8 commented Dec 3, 2013

Copy link
Copy Markdown

See http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/john/john/src/BF_fmt.c

Note that these tests pass on MRI 1.8/1.9 but fail on jruby, the
bugs are likely in the jBCrypt implementation.

This is related to #82.

reedloden added a commit to reedloden/bcrypt-ruby that referenced this pull request Mar 11, 2014
reedloden added a commit to reedloden/bcrypt-ruby that referenced this pull request Mar 11, 2014
reedloden added a commit to reedloden/bcrypt-ruby that referenced this pull request Mar 11, 2014

bf4 commented Oct 21, 2014

Copy link
Copy Markdown
Contributor

status? can be closed?

Copy link
Copy Markdown

It's not merged, so no. Though, I did include the changes in #91.

Oscil8 commented Oct 23, 2014

Copy link
Copy Markdown
Author

Yeah, the tests still show a probable issue; although the issue is likely in jBCrypt. I may have time next month to do some more debugging to try to identify the issue.

bf4 commented Nov 3, 2014

Copy link
Copy Markdown
Contributor

Great!

Oscil8 commented Dec 26, 2014

Copy link
Copy Markdown
Author

The jBCrypt issues appear to be due to character encoding due to use of Java's String.getBytes on input. Suggestion would be to pass byte[] array directly -- see POC at https://github.com/Oscil8/bcrypt-ruby/tree/wip/jruby-fix which does pass tests in either jruby or MRI.

See http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/john/john/src/BF_fmt.c

Note that these tests pass on MRI 1.8/1.9 but fail on jruby, the bugs
are due to character encoding on input to the jBCrypt implementation.
reedloden added a commit to reedloden/bcrypt-ruby that referenced this pull request Feb 12, 2015
samcday pushed a commit to atlassian/bcrypt-ruby that referenced this pull request Feb 15, 2017

Copy link
Copy Markdown
Collaborator

This was done in #182 and #183 — thanks!

tjschuck closed this Nov 15, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL