-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Sync ssh-opencl with the CPU format #5791
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
Conversation
Also drop some unused definitions. Related to 87c1e3b
This also touches pem-opencl. I've confirmed that it passes tests. The code in |
In the kernel here, I hard-coded We have no easy and readily available way to get the actual variable from host, right? |
Easy peasy, I did that in oldoffice-opencl, transferred/updated in |
I didn't realize we were doing this already. But it's a separate buffer, transferred separately. Not as easy and lightweight as I'd have liked. Maybe it's better to add a field to the salt struct, so that there's no extra buffer to transfer. |
OK, this was easy. Done. But now it's failing on super's NVIDIAs (but not AMD, nor CPUs), for the single-DES test vector on the very last ASN.1 check. I'll need to investigate. |
Bug found and fixed. All tests are passing again. |
Make them consistent with the CPU format, but omit bcrypt-pbkdf.
This brings ssh-opencl almost on par with the CPU format, except for new format keys that use bcrypt-pbkdf.
Successfully tested on POCL and on most devices on "super" (except for Xeon Phi, where it prints an LLVM error and gets stuck), including wordlist-based cracking of all of our test vectors plus john-samples that fit this revised format's constraints. It correctly refuses to load the bcrypt-pbkdf keys, and correctly loads and cracks all others.