[GH-ISSUE #725] Add first check local section(s) to john.local.conf #368

Closed
opened 2026-10-14 03:03:13 +07:00 by bsakaguchi · 11 comments
Owner

Originally created by @jfoug on GitHub (Aug 27, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/725

From another issue thread

Optimal global worksize 32768
(to avoid this test on next run, put "rar5_GWS = 32768" in john.conf, section [Options:OpenCL])
Max local worksize 256, Optimal local worksize 256
(to avoid this test on next run, put "rar5_LWS = 256" in john.conf, section [Options:OpenCL])
Local worksize (LWS) 256, global worksize (GWS) 32768
DONE

what I would call a 'first' check section, would be something like [Options:Local:OpenCL] This would NEVER be added to john.conf, but would be in john.local.conf. If we did not find a rar5_LWS in [Options:Local:OpenCL], then we would check in [Options:OpenCL] (which is in john.conf). That value could be set as a 'good value' for most cards, if we choose.

But we should look at using logic like this for all TRUE local configuration items, or simply ADD logic that always adds a [header:Local:key] to any check for [header:section] loads, and only falls back to [header:section] if the Local is not found.

In this way, you can easily setup a system the way you want it, without either losing john.conf each time you get pull, or running the chance of polluting the global (github) john.conf with your local changes.

I have known JtR has needed this type enhancement for a while, but until I thought it through a bit, I was not sure quite how to do it. I think we could easily get JtR to auto do this for us, giving highest precedence to a Local hive, IF it exists.

Originally created by @jfoug on GitHub (Aug 27, 2014). Original GitHub issue: https://github.com/openwall/john/issues/725 From another issue thread ``` Optimal global worksize 32768 (to avoid this test on next run, put "rar5_GWS = 32768" in john.conf, section [Options:OpenCL]) Max local worksize 256, Optimal local worksize 256 (to avoid this test on next run, put "rar5_LWS = 256" in john.conf, section [Options:OpenCL]) Local worksize (LWS) 256, global worksize (GWS) 32768 DONE ``` what I would call a 'first' check section, would be something like [Options:Local:OpenCL] This would NEVER be added to john.conf, but would be in john.local.conf. If we did not find a rar5_LWS in [Options:Local:OpenCL], then we would check in `[Options:OpenCL]` (which is in john.conf). That value could be set as a 'good value' for most cards, if we choose. But we should look at using logic like this for all TRUE local configuration items, or simply ADD logic that always adds a [header:Local:key] to any check for [header:section] loads, and only falls back to [header:section] if the Local is not found. In this way, you can easily setup a system the way you want it, without either losing john.conf each time you get pull, or running the chance of polluting the global (github) john.conf with your local changes. I have known JtR has needed this type enhancement for a while, but until I thought it through a bit, I was not sure quite how to do it. I think we could easily get JtR to auto do this for us, giving highest precedence to a Local hive, IF it exists.
bsakaguchi 2026-10-14 03:03:13 +07:00
Author
Owner

@magnumripper commented on GitHub (Aug 27, 2014):

That's certainly a way to go. I'd rather just have john.local.conf override anything in john.conf but I have no idea how to implement that in a safe and KISS manner.

<!-- gh-comment-id:53611951 --> @magnumripper commented on GitHub (Aug 27, 2014): That's certainly a way to go. I'd rather just have john.local.conf override anything in john.conf but I have no idea how to implement that in a safe and KISS manner.
Author
Owner

@jfoug commented on GitHub (Aug 28, 2014):

I have a POC. This was SUPPPPPPER easy. Since john.local.conf is the last include in john.conf, this works great. I simply added 1 function to config.c (static so it does not even need to be in config.h), and it works find. I use [Local:whatever] as the signal that this is a local override. NOTE, if the original config block was a [List.xxxx] block, then there is no way to override. We can not edit a list. Well we 'could' edit the externs in some manner, but that was what the .include [section] was meant to do. For externs, we 'could' do local for some function within the extern, but that really does not make sense. The only thing you can really do within john.local.conf when it comes to a List. block, is to completely replace it. If you put a new section out there, it WILL be the one JtR uses, but it will be used in full.

But with the local, we can do things like this:

[Local:Options]
DynamicAlwaysUseBareHashes = Y
Idle = N

That would leave Options intact, but force idle off, and force dyna raw hashes on, overriding what is in john.conf.

The code is simple. It will not add any new options, only changing existing ones.

static void cfg_merge_local_section() {
    struct cfg_section *parent;
    struct cfg_param *p1, *p2;

    if (!cfg_database) return;
    if (strncmp(cfg_database->name, "local:", 6)) return;
    if (!strncmp(cfg_database->name, "local:list.", 11)) return;
    parent = cfg_get_section(&cfg_database->name[6], NULL);
    if (!parent) return;
    // now update the params in parent section
    p1 = cfg_database->params;
    while (p1) {
        p2 = parent->params;
        while (p2) {
            if (!strcmp(p1->name, p2->name)) {
                p2->value = p1->value;
                break;
            }
            p2 = p2->next;
        }
        p1 = p1->next;
    }
}
static void cfg_add_section(char *name)
{
    struct cfg_section *last;

+   // if the last section was a 'Local:" section, then merge it.
+   cfg_merge_local_section();
    last = cfg_database;
    cfg_database = mem_alloc_tiny(

The caveat to this code, is you want to have a dummy section at the bottom of john.local.conf, since the merge happens at the start of the next section.

Here is my john.local.conf

# within this local conf, we can add any section. However, if we add a special
# section where :Local: is the 2nd value, then we will override the john.conf
# for that section. So if there is an [Options:OpenCL] within john.conf, if
# we add a [Options:Local:OpenCL] section into this file, then every item we
# add to 'that' section will override the value in john.conf and will be used
# when john is run.  This allows setting up local optimizations, without
# editing the john.conf file, which is a 'global' version controlled file.
# these local edits will not be destroyed by any update, and will never be
# pushed into the version control system, since this local file is ignored. 

# Override [Options] section for any values we want specific to this machine
[Local:Options]
DynamicAlwaysUseBareHashes = Y
Idle = N

[Local:Options:OpenCL]

[Local:Options:OpenCL]

[Local:Markov:Default]

[Local:UserClasses]

[Local:Regen_Salts_UserClasses]

# any [List.Rules:rule_name] (or ANY section starting with [List. ) can be
# added here, without need to using :Local since this is a "List." type,
# it makes doing a local not really important. simply make a
# [List.Rules:Wordlist] and it will fully replace the one located in 
# john.conf. There is no way to really add parts to a rule properly.
# the same logic goes for externals, since they are a list of external
# instructions

# the '[Incremental:xxx] modes are good to override certain parts. Setting
# things like MaxLen and MinLen are ideal to put into a
# [Incremental:Local:xxx] section 

# Keep this last empty section in john.local.conf.  It will make sure that the
# last Local section gets properly merged into the main 'parent' section,
# overriding it's values. Without this dummy section, the last local override
# will be ignored.
[empty]

Comments wanted. This code works as is. It is very simple. There might be better ways to do this, BUT this really is KISS.

<!-- gh-comment-id:53711902 --> @jfoug commented on GitHub (Aug 28, 2014): I have a POC. This was SUPPPPPPER easy. Since john.local.conf is the last include in john.conf, this works great. I simply added 1 function to config.c (static so it does not even need to be in config.h), and it works find. I use [Local:whatever] as the signal that this is a local override. NOTE, if the original config block was a [List.xxxx] block, then there is no way to override. We can not edit a list. Well we 'could' edit the externs in some manner, but that was what the .include [section] was meant to do. For externs, we 'could' do local for some function within the extern, but that really does not make sense. The only thing you can really do within john.local.conf when it comes to a List. block, is to completely replace it. If you put a new section out there, it WILL be the one JtR uses, but it will be used in full. But with the local, we can do things like this: [Local:Options] DynamicAlwaysUseBareHashes = Y Idle = N That would leave Options intact, but force idle off, and force dyna raw hashes on, overriding what is in john.conf. The code is simple. It will not add any new options, only changing existing ones. ``` static void cfg_merge_local_section() { struct cfg_section *parent; struct cfg_param *p1, *p2; if (!cfg_database) return; if (strncmp(cfg_database->name, "local:", 6)) return; if (!strncmp(cfg_database->name, "local:list.", 11)) return; parent = cfg_get_section(&cfg_database->name[6], NULL); if (!parent) return; // now update the params in parent section p1 = cfg_database->params; while (p1) { p2 = parent->params; while (p2) { if (!strcmp(p1->name, p2->name)) { p2->value = p1->value; break; } p2 = p2->next; } p1 = p1->next; } } ``` ``` static void cfg_add_section(char *name) { struct cfg_section *last; + // if the last section was a 'Local:" section, then merge it. + cfg_merge_local_section(); last = cfg_database; cfg_database = mem_alloc_tiny( ``` The caveat to this code, is you want to have a dummy section at the bottom of john.local.conf, since the merge happens at the start of the next section. Here is my john.local.conf ``` # within this local conf, we can add any section. However, if we add a special # section where :Local: is the 2nd value, then we will override the john.conf # for that section. So if there is an [Options:OpenCL] within john.conf, if # we add a [Options:Local:OpenCL] section into this file, then every item we # add to 'that' section will override the value in john.conf and will be used # when john is run. This allows setting up local optimizations, without # editing the john.conf file, which is a 'global' version controlled file. # these local edits will not be destroyed by any update, and will never be # pushed into the version control system, since this local file is ignored. # Override [Options] section for any values we want specific to this machine [Local:Options] DynamicAlwaysUseBareHashes = Y Idle = N [Local:Options:OpenCL] [Local:Options:OpenCL] [Local:Markov:Default] [Local:UserClasses] [Local:Regen_Salts_UserClasses] # any [List.Rules:rule_name] (or ANY section starting with [List. ) can be # added here, without need to using :Local since this is a "List." type, # it makes doing a local not really important. simply make a # [List.Rules:Wordlist] and it will fully replace the one located in # john.conf. There is no way to really add parts to a rule properly. # the same logic goes for externals, since they are a list of external # instructions # the '[Incremental:xxx] modes are good to override certain parts. Setting # things like MaxLen and MinLen are ideal to put into a # [Incremental:Local:xxx] section # Keep this last empty section in john.local.conf. It will make sure that the # last Local section gets properly merged into the main 'parent' section, # overriding it's values. Without this dummy section, the last local override # will be ignored. [empty] ``` Comments wanted. This code works as is. It is very simple. There might be better ways to do this, BUT this really is KISS.
Author
Owner

@jfoug commented on GitHub (Aug 28, 2014):

Note if we had simply put

[Options]
DynamicAlwaysUseBareHashes = Y
Idle = N

into john.local.conf, then that would be the ENTIRE options config set. All other params from the Options block would be lost. With the Local:Options, we merge them into the original Options block. There IS a Local:Options, and you can drop it out with a -list= switch

$ ../run/john -list=parameters:Local:Options
idle = N
dynamicalwaysusebarehashes = Y

But the original Options block has been 100% original, except for the 2 modified params done by the local change:

$ ../run/john -list=parameters:Options
pausefile = /var/run/john/pause
abortfile = /var/run/john/abort
reloadatsave = Y
reloadatcrack = Y
securemode = N
verbosity = 3
noloaderdupecheck = N
logcrackedpasswords = N
statusshowcandidates = N
crackstatus = N
singlewordspairmax = 6
pristinegecos = N
timeformat24 = %H:%M:%S
timeformat = %Y-%m-%d %H:%M
defaultincrementallm = LM_ASCII
defaultincremental = ASCII
loopbackrules = Loopback
batchmodewordlistrules = Wordlist
singlerules = Single
dynamicalwaysusebarehashes = Y
beep = N
save = 60
idle = N
wordlist = $JOHN/password.lst
<!-- gh-comment-id:53712307 --> @jfoug commented on GitHub (Aug 28, 2014): Note if we had simply put ``` [Options] DynamicAlwaysUseBareHashes = Y Idle = N ``` into john.local.conf, then that would be the ENTIRE options config set. All other params from the Options block would be lost. With the Local:Options, we merge them into the original Options block. There IS a Local:Options, and you can drop it out with a -list= switch ``` $ ../run/john -list=parameters:Local:Options idle = N dynamicalwaysusebarehashes = Y ``` But the original Options block has been 100% original, except for the 2 modified params done by the local change: ``` $ ../run/john -list=parameters:Options pausefile = /var/run/john/pause abortfile = /var/run/john/abort reloadatsave = Y reloadatcrack = Y securemode = N verbosity = 3 noloaderdupecheck = N logcrackedpasswords = N statusshowcandidates = N crackstatus = N singlewordspairmax = 6 pristinegecos = N timeformat24 = %H:%M:%S timeformat = %Y-%m-%d %H:%M defaultincrementallm = LM_ASCII defaultincremental = ASCII loopbackrules = Loopback batchmodewordlistrules = Wordlist singlerules = Single dynamicalwaysusebarehashes = Y beep = N save = 60 idle = N wordlist = $JOHN/password.lst ```
Author
Owner

@jfoug commented on GitHub (Aug 28, 2014):

If this code is added to bottom of cfg_init() then the caveat of having to have an empty section block at the end of john.local.conf goes away.

    while (fgetl(line, sizeof(line), file))
    if (cfg_process_line(line, ++number)) cfg_error(cfg_name, number);

    if (ferror(file)) pexit("fgets");

    if (fclose(file)) pexit("fclose");

+   // merge final section (if it is a 'Local:" section)
+   cfg_merge_local_section();
}
<!-- gh-comment-id:53718543 --> @jfoug commented on GitHub (Aug 28, 2014): If this code is added to bottom of cfg_init() then the caveat of having to have an empty section block at the end of john.local.conf goes away. ``` while (fgetl(line, sizeof(line), file)) if (cfg_process_line(line, ++number)) cfg_error(cfg_name, number); if (ferror(file)) pexit("fgets"); if (fclose(file)) pexit("fclose"); + // merge final section (if it is a 'Local:" section) + cfg_merge_local_section(); } ```
Author
Owner

@magnumripper commented on GitHub (Aug 28, 2014):

Interesting. Is there no way to make this happen without using the "Local:" prefix? What if anything read from john.local.conf implies that, instead?

I would like that even more, although it actually has a downside: You would not be able to replace a complete section. You'd always merge.

<!-- gh-comment-id:53739095 --> @magnumripper commented on GitHub (Aug 28, 2014): Interesting. Is there no way to make this happen without using the "Local:" prefix? What if anything read from john.local.conf implies that, instead? I would like that even more, although it actually has a downside: You would not be able to replace a complete section. You'd always merge.
Author
Owner

@jfoug commented on GitHub (Aug 28, 2014):

the reason I wrote it the way I did, is so that replacement by name still works.

of course we could track the file name being processed, and reverse the logic. In this mode merge would be default if running from John.local.conf and we use something like Replace:secttion_name to do a replacement. I like the way it is in my code. The logic is very simple.

If I rev logic, I would change any section name with replace: by stopping it, and add local: to others, then keep the code I have added.

But I find that to be messy and for little gain for end user.

Sent with my 4G LTE LG G2.

<!-- gh-comment-id:53762507 --> @jfoug commented on GitHub (Aug 28, 2014): the reason I wrote it the way I did, is so that replacement by name still works. of course we could track the file name being processed, and reverse the logic. In this mode merge would be default if running from John.local.conf and we use something like Replace:secttion_name to do a replacement. I like the way it is in my code. The logic is very simple. If I rev logic, I would change any section name with replace: by stopping it, and add local: to others, then keep the code I have added. But I find that to be messy and for little gain for end user. Sent with my 4G LTE LG G2.
Author
Owner

@jfoug commented on GitHub (Aug 29, 2014):

This has been commited here: 0aadb4e

There is documentation on how to use it. Also configure.ac changed (and a new macro created) that will build a 'good' skeleton john.local.conf file, but ONLY do it if that file is not there. The john.local.conf gets good commenting, and it builds empty local sections (with a comment) for each non List. section found in john.conf.

Here is the skeleton john.local.conf file created by configure:

# Within john.local.conf, we can add or fully overwrite any exiting section
# from any of the other .conf file. However if we add a special named
# section that is the same name as some other section, but with Local:
# appenneded, then this special section will allow the params from the
# original section in john.conf, to be modified.  Any param from that
# original section which is placed into this 'Local:' section will be
# updated, without having to edit the john.conf file. The john.conf file
# is a file owned by the JtR project.  It gets updated and edited by the
# JtR development team.  User hand edits to this file are lost when JtR
# updates. So it is recommended that updates to sections in that file are
# not done by editing the john.conf file, but by adding 'Local:' sections
# to this file, overriding parameters. NOTE, that a section starting out
# with 'List.' can not be modified with a 'Local:'. This is because
# there is no way to edit a List.  A List is used for things such as
# Rules, or External scripts.  Those sections can be replaced fully if
# put into this file, but can not be done with a 'Local:'
#
# This file was auto-created by the ./configure script when run. The
# ./configure added Local: sections for all non-list sections from the
# set of *.conf files present at the time ./configure was run. This will
# ONLY be done if this john.local.conf file does NOT exist. Once this
# file exists, it will not be updated again, by JtR code.

# Use this section used to override params in section [Options]
[Local:Options]

# Use this section used to override params in section [Options:MPI]
[Local:Options:MPI]

# Use this section used to override params in section [Options:OpenCL]
[Local:Options:OpenCL]

# Use this section used to override params in section [Markov:Default]
[Local:Markov:Default]

# Use this section used to override params in section [UserClasses]
[Local:UserClasses]

# Use this section used to override params in section [Regen_Salts_UserClasses]
[Local:Regen_Salts_UserClasses]

# Use this section used to override params in section [Incremental:Custom]
[Local:Incremental:Custom]

# Use this section used to override params in section [Incremental:UTF8]
[Local:Incremental:UTF8]

# Use this section used to override params in section [Incremental:Latin1]
[Local:Incremental:Latin1]

# Use this section used to override params in section [Incremental:ASCII]
[Local:Incremental:ASCII]

# Use this section used to override params in section [Incremental:LM_ASCII]
[Local:Incremental:LM_ASCII]

# Use this section used to override params in section [Incremental:LanMan]
[Local:Incremental:LanMan]

# Use this section used to override params in section [Incremental:Alnumspace]
[Local:Incremental:Alnumspace]

# Use this section used to override params in section [Incremental:Alnum]
[Local:Incremental:Alnum]

# Use this section used to override params in section [Incremental:Alpha]
[Local:Incremental:Alpha]

# Use this section used to override params in section [Incremental:LowerNum]
[Local:Incremental:LowerNum]

# Use this section used to override params in section [Incremental:UpperNum]
[Local:Incremental:UpperNum]

# Use this section used to override params in section [Incremental:LowerSpace]
[Local:Incremental:LowerSpace]

# Use this section used to override params in section [Incremental:Lower]
[Local:Incremental:Lower]

# Use this section used to override params in section [Incremental:Upper]
[Local:Incremental:Upper]

# Use this section used to override params in section [Incremental:Digits]
[Local:Incremental:Digits]

Note, working with non paired [ ] in autoconfig SUX. My awk line, I had to go to quadragraph usage for 3 types characters # [ and $ I could not seem to get it to compile with autoconf (or later run) any other way. The grep line above it uses [ and ], but they are matched, and simple [] quoting was enough. The awk line outputs the final stuff, and there were unmatched [ chars. That causes the m4 processing for autoconf to go tits up.

<!-- gh-comment-id:53862854 --> @jfoug commented on GitHub (Aug 29, 2014): This has been commited here: 0aadb4e There is documentation on how to use it. Also configure.ac changed (and a new macro created) that will build a 'good' skeleton john.local.conf file, but ONLY do it if that file is not there. The john.local.conf gets good commenting, and it builds empty local sections (with a comment) for each non List. section found in john.conf. Here is the skeleton john.local.conf file created by configure: ``` # Within john.local.conf, we can add or fully overwrite any exiting section # from any of the other .conf file. However if we add a special named # section that is the same name as some other section, but with Local: # appenneded, then this special section will allow the params from the # original section in john.conf, to be modified. Any param from that # original section which is placed into this 'Local:' section will be # updated, without having to edit the john.conf file. The john.conf file # is a file owned by the JtR project. It gets updated and edited by the # JtR development team. User hand edits to this file are lost when JtR # updates. So it is recommended that updates to sections in that file are # not done by editing the john.conf file, but by adding 'Local:' sections # to this file, overriding parameters. NOTE, that a section starting out # with 'List.' can not be modified with a 'Local:'. This is because # there is no way to edit a List. A List is used for things such as # Rules, or External scripts. Those sections can be replaced fully if # put into this file, but can not be done with a 'Local:' # # This file was auto-created by the ./configure script when run. The # ./configure added Local: sections for all non-list sections from the # set of *.conf files present at the time ./configure was run. This will # ONLY be done if this john.local.conf file does NOT exist. Once this # file exists, it will not be updated again, by JtR code. # Use this section used to override params in section [Options] [Local:Options] # Use this section used to override params in section [Options:MPI] [Local:Options:MPI] # Use this section used to override params in section [Options:OpenCL] [Local:Options:OpenCL] # Use this section used to override params in section [Markov:Default] [Local:Markov:Default] # Use this section used to override params in section [UserClasses] [Local:UserClasses] # Use this section used to override params in section [Regen_Salts_UserClasses] [Local:Regen_Salts_UserClasses] # Use this section used to override params in section [Incremental:Custom] [Local:Incremental:Custom] # Use this section used to override params in section [Incremental:UTF8] [Local:Incremental:UTF8] # Use this section used to override params in section [Incremental:Latin1] [Local:Incremental:Latin1] # Use this section used to override params in section [Incremental:ASCII] [Local:Incremental:ASCII] # Use this section used to override params in section [Incremental:LM_ASCII] [Local:Incremental:LM_ASCII] # Use this section used to override params in section [Incremental:LanMan] [Local:Incremental:LanMan] # Use this section used to override params in section [Incremental:Alnumspace] [Local:Incremental:Alnumspace] # Use this section used to override params in section [Incremental:Alnum] [Local:Incremental:Alnum] # Use this section used to override params in section [Incremental:Alpha] [Local:Incremental:Alpha] # Use this section used to override params in section [Incremental:LowerNum] [Local:Incremental:LowerNum] # Use this section used to override params in section [Incremental:UpperNum] [Local:Incremental:UpperNum] # Use this section used to override params in section [Incremental:LowerSpace] [Local:Incremental:LowerSpace] # Use this section used to override params in section [Incremental:Lower] [Local:Incremental:Lower] # Use this section used to override params in section [Incremental:Upper] [Local:Incremental:Upper] # Use this section used to override params in section [Incremental:Digits] [Local:Incremental:Digits] ``` Note, working with non paired [ ] in autoconfig SUX. My awk line, I had to go to quadragraph usage for 3 types characters # [ and $ I could not seem to get it to compile with autoconf (or later run) any other way. The grep line above it uses [ and ], but they are matched, and simple [] quoting was enough. The awk line outputs the final stuff, and there were unmatched [ chars. That causes the m4 processing for autoconf to go tits up.
Author
Owner

@ghost commented on GitHub (Aug 29, 2014):

Should we changed the JtR message from:

  • john.conf => john.local.conf

BTW: I put some LWS/GWS "examples" inside john.conf. We should remove that, no?

<!-- gh-comment-id:53901685 --> @ghost commented on GitHub (Aug 29, 2014): Should we changed the JtR message from: - john.conf => john.local.conf BTW: I put some LWS/GWS "examples" inside john.conf. We should remove that, no?
Author
Owner

@magnumripper commented on GitHub (Aug 29, 2014):

Those examples could be moved to the skeleton file but the downside would be any later updates will never reach your existing file. So I'm not sure. Yes maybe that autotune message should say john.local.conf... although my preference is to ditch that output and aim for auto-tune good and quick enough to make the john.conf stuff a very rare exception for expert users only.

<!-- gh-comment-id:53940322 --> @magnumripper commented on GitHub (Aug 29, 2014): Those examples could be moved to the skeleton file but the downside would be any later updates will never reach your existing file. So I'm not sure. Yes maybe that autotune message should say john.local.conf... although my preference is to ditch that output and aim for auto-tune good and quick enough to make the john.conf stuff a very rare exception for expert users only.
Author
Owner

@jfoug commented on GitHub (Aug 30, 2014):

Those 'examples' should be in john.conf. BUT there should be a comment with them listing that the example comment should be overridden in the john.local.conf file.

<!-- gh-comment-id:53957991 --> @jfoug commented on GitHub (Aug 30, 2014): Those 'examples' should be in john.conf. BUT there should be a comment with them listing that the example comment should be overridden in the john.local.conf file.
Author
Owner

@ghost commented on GitHub (Aug 30, 2014):

Optimal global worksize 32768
(to avoid this test on next run, put "rar5_GWS = 32768" in john.local.conf, section [Local:Options:OpenCL])
Max local worksize 256, Optimal local worksize 64
(to avoid this test on next run, put "rar5_LWS = 64" in john.local.conf, section [Local:Options:OpenCL])
Local worksize (LWS) 64, global worksize (GWS) 32768
Benchmarking: RAR5-opencl [PBKDF2-SHA256 OpenCL]... DONE
<!-- gh-comment-id:53964643 --> @ghost commented on GitHub (Aug 30, 2014): ``` Optimal global worksize 32768 (to avoid this test on next run, put "rar5_GWS = 32768" in john.local.conf, section [Local:Options:OpenCL]) Max local worksize 256, Optimal local worksize 64 (to avoid this test on next run, put "rar5_LWS = 64" in john.local.conf, section [Local:Options:OpenCL]) Local worksize (LWS) 64, global worksize (GWS) 32768 Benchmarking: RAR5-opencl [PBKDF2-SHA256 OpenCL]... DONE ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#368
No description provided.