mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1475] We lack developer documentation #951
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#951
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @frank-dittrich on GitHub (Jun 28, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1475
Originally assigned to: @frank-dittrich on GitHub.
What we need to document:
(And I am sure lots of other stuff)
@magnumripper commented on GitHub (Jun 28, 2015):
split()vsprepare()@magnumripper commented on GitHub (Jun 28, 2015):
Openwall's wiki is almost dead and that might be partly because it's horrible to use: It's the worst wiki [the software] I've encountered as a writer.
On the other hand, this Github wiki is, in my opinion, wonderful. It's simple and intuitive. I have some pages here mostly for my own notes.
@jfoug commented on GitHub (Jul 22, 2015):
https://github.com/magnumripper/JohnTheRipper/wiki/Developer-Help-Documentation
I have added some place holder pages, listing all items from this post. I really would like to be able to control what shows up in that 'Pages' sidebar. It will get HEAVILY cluttered and unusable.
@magnumripper commented on GitHub (Aug 19, 2015):
The place holders are annoying. Please either drop them for now, or fill them in.
@frank-dittrich commented on GitHub (Aug 21, 2015):
Another question:
How to decide whether or not an OpenCL format should be OMP or not.
E.g., rar-opencl is OMP, some other formats are OMP as well, but (at least for my Haswell with beignet) I don't really know why.
@magnumripper commented on GitHub (Aug 23, 2015):
It's pretty obvious: For example, the CUDA version of WPAPSK does significant post-processing on CPU, so should (and does AFAIK) use OpenMP for that. The OpenCL version does it all on GPU, so there's simply nowhere you could put an OpenMP pragma.
@frank-dittrich commented on GitHub (Aug 23, 2015):
OK, then I might need a real GPU instead of Intel's Haswell to see the benefit of using OpenMP for rar-opencl. For me. there's no difference running a non-OMP version, and the CPU is still mostly idle.
@magnumripper commented on GitHub (Aug 23, 2015):
You got it backwards. Again, the OpenCL version of WPA does not and can not utilize OpenMP, because all work is done on GPU.
@frank-dittrich commented on GitHub (Aug 23, 2015):
NO, I didn't get it backwards. I didn't mention WPA at all.
I just discussed rar-opencl. May be here the CPU has work to do, but at least with my Haswell, there's so little work to do for the CPU that the CPU is idle most of the time, even in a --disable-openmp build.
@magnumripper commented on GitHub (Aug 23, 2015):
Oh, my bad. The thing with RAR is we have very good early rejection nowadays. Whenever that code fails to reject early, we need to do, worst case, an AES decryption of a whole file in the archive. That file is potentially huge.
@frank-dittrich commented on GitHub (Aug 23, 2015):
Can that AES decryption of a whole file benefit from OpenCL?
I just ask because I intend to run rar-opencl in parallel ro rar (where I would use default OMP_NUM_THREADS on CPU), and I am afraid that enabling OpenCL for GPU might hurt perfrmance rather than help.
@frank-dittrich commented on GitHub (Aug 23, 2015):
The --test benchmarks just indicate that I can combine --format=rar and --format=rar-opencl, and get more or less the same speeds as when I run --format=rar and --format=rar-opencl individually.
@magnumripper commented on GitHub (Aug 23, 2015):
AES can be done on GPU but I don't think it's worth it. But I'm pretty sure it will be worthwhile to run CPU and GPU in parallel, because of the mentioned early rejection stuff.
@magnumripper commented on GitHub (Aug 27, 2015):
We should also document the use of
error()andpexit(). And why to use them (there are very good reasons) instead ofexit()when possible.@magnumripper commented on GitHub (Sep 4, 2015):
Some stuff in #350 too.
@kholia commented on GitHub (Nov 11, 2017):
We also have a
doc/HACKING.mdfile now. I am looking for suggestions about topics which could be added to this file.