Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Wed, 4 Jul 2012 13:25:41 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: New --list=help instead of --list=?, bash completion support for
 --list=option[:value], and more

The patches in this series depend on each other.

The first 3 patches should be applied to bleeding-jumbo and magnum-jumbo
as well as to 1.7.9-jumbo-6-fixes.

The last patch should be applied to bleeding-jumbo only, since it adds
get_source to the output of --list=help:format-methods.


Patch 0001 adds --list=help instead of --list=? (but --list=? continues
to be supported)

Patch 0002 adds --list=help:help, --list=help:format-methods, and
improves the output in case of a wrong method name in
--list=format-methods:WHICH (it will provide a list of valid method
names in addition to the error message).

Patch 0003 uses the functionality provided by patches 0001 and 0002 to
support the new --list options.
If --list=help is supported, bash completion will not list "?" as a
possible completion, because "help" is listed as one of the possible
completions.
This also means that
$ ./john --list=?[tab]
will not longer result in a trailing space being added if the john
version supports --list=help.
Does anybody insist on a fix?

The bash completion script continues to use --list=? (changed to
--list=\?), because jumbo-6 doesn't know --list=help.


Patch 0004 adds get_source to the list of method names for
--list=help:format-methods.


Frank

View attachment "0001-New-list-help-instead-of-list.patch" of type "text/x-patch" (3949 bytes)

View attachment "0002-Add-list-help-help-and-improve-output-in-case-of-wro.patch" of type "text/x-patch" (4085 bytes)

View attachment "0003-Bash-completion-add-support-for-list-option-value.patch" of type "text/x-patch" (5880 bytes)

View attachment "0004-Add-get_source-to-list-help-format-methods-output.patch" of type "text/x-patch" (878 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.