[GH-ISSUE #2778] Allow add_device_to_list() to accept duplicate devices on a --dev list #1783

Closed
opened 2026-10-15 04:24:26 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ghost on GitHub (Sep 23, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2778

  • Use case:
$JtR --fork=3 --device=0,0,1 #two instances on -dev=0 and one using -dev=1
$JtR --fork=6 --device=0,0,1 #four instances on -dev=0 and two using -dev=1

Nothing should change for how it works now:

$JtR --fork=2 --device=0,1 #one instance on -dev=0 plus one using -dev=1
$JtR --fork=5 --device=0,1 #three instances on -dev=0 plus two using -dev=1

To minimize impact on legacy code (that doesn't use shared functions), create a new list and use it only while forking (picking the device to use in the child process at line 650)?!?

Originally created by @ghost on GitHub (Sep 23, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2778 * Use case: ``` $JtR --fork=3 --device=0,0,1 #two instances on -dev=0 and one using -dev=1 $JtR --fork=6 --device=0,0,1 #four instances on -dev=0 and two using -dev=1 ``` Nothing should change for how it works now: ``` $JtR --fork=2 --device=0,1 #one instance on -dev=0 plus one using -dev=1 $JtR --fork=5 --device=0,1 #three instances on -dev=0 plus two using -dev=1 ``` *** To minimize impact on legacy code (that doesn't use shared functions), create a new list and use it only while forking (picking the device to use in the child process at line 650)?!?
bsakaguchi 2026-10-15 04:24:26 +07:00
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#1783
No description provided.