[GH-ISSUE #635] add pause-button #294

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

Originally created by @rofl0r on GitHub (Jun 16, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/635

it's tedious to interrupt current jobs and restart them later, especially if you're half-way through and forgot to use a session name.
as there are often situations one wants to pause to use cores temporarilly for something else, i think adding a pause keyboard shortcut (maybe P) for pausing/continuing a run would greatly improve usability.

Originally created by @rofl0r on GitHub (Jun 16, 2014). Original GitHub issue: https://github.com/openwall/john/issues/635 it's tedious to interrupt current jobs and restart them later, especially if you're half-way through and forgot to use a session name. as there are often situations one wants to pause to use cores temporarilly for something else, i think adding a pause keyboard shortcut (maybe P) for pausing/continuing a run would greatly improve usability.
bsakaguchi 2026-10-14 03:00:14 +07:00
Author
Owner

@magnumripper commented on GitHub (Oct 15, 2014):

P should be fine.

I had a look, thinking it would be trivial. It would, if there wasn't for -fork...

<!-- gh-comment-id:59138721 --> @magnumripper commented on GitHub (Oct 15, 2014): P should be fine. I had a look, thinking it would be trivial. It would, if there wasn't for -fork...
Author
Owner

@ukasz commented on GitHub (Oct 15, 2014):

Can't we use SIGUSR's for that? BTW some time ago I had an idea to for something like --session=auto, which should generate a new random session name.

<!-- gh-comment-id:59179931 --> @ukasz commented on GitHub (Oct 15, 2014): Can't we use SIGUSR's for that? BTW some time ago I had an idea to for something like --session=auto, which should generate a new random session name.
Author
Owner

@frank-dittrich commented on GitHub (Oct 15, 2014):

SIGUSR1 is already used for status update, SIGUSR2 for pot syncing (between forked processes)
or
killall -s USR1 john
killall -s USR2 john

<!-- gh-comment-id:59181122 --> @frank-dittrich commented on GitHub (Oct 15, 2014): SIGUSR1 is already used for status update, SIGUSR2 for pot syncing (between forked processes) or killall -s USR1 john killall -s USR2 john
Author
Owner

@frank-dittrich commented on GitHub (Oct 15, 2014):

With --session=auto you'll probably have fun finding out which aborted session you want to resume.

<!-- gh-comment-id:59181461 --> @frank-dittrich commented on GitHub (Oct 15, 2014): With --session=auto you'll probably have fun finding out which aborted session you want to resume.
Author
Owner

@frank-dittrich commented on GitHub (Oct 15, 2014):

Don't we have a "pause" file?

$ git grep pause
john.conf:# While this file exists, john will pause
john.conf:PauseFile = /var/run/john/pause
pass_gen.pl:                                    "Must give us pause: there's the respect\n",

OK, for different sessions you'd need different configs, if you don't want to pause all of them.

<!-- gh-comment-id:59181749 --> @frank-dittrich commented on GitHub (Oct 15, 2014): Don't we have a "pause" file? ``` $ git grep pause john.conf:# While this file exists, john will pause john.conf:PauseFile = /var/run/john/pause pass_gen.pl: "Must give us pause: there's the respect\n", ``` OK, for different sessions you'd need different configs, if you don't want to pause all of them.
Author
Owner

@ghost commented on GitHub (Dec 15, 2018):

I skipped issues like this. But, it is clear that:

  • Fixed - It was fixed.

  • WontFix - Covers all the reasons we chose to close the bug without taking action.

    • Nobody cares.
<!-- gh-comment-id:447589063 --> @ghost commented on GitHub (Dec 15, 2018): I skipped issues like this. But, it is clear that: * **Fixed** - It was fixed. * **WontFix** - Covers all the reasons we chose to close the bug without taking action. * Nobody cares.
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#294
No description provided.