Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sympa-upgrade-password: provide a way to save progress #1915

Closed
taggart opened this issue Dec 12, 2024 · 1 comment
Closed

sympa-upgrade-password: provide a way to save progress #1915

taggart opened this issue Dec 12, 2024 · 1 comment

Comments

@taggart
Copy link
Contributor

taggart commented Dec 12, 2024

Expected Behavior

It would be nice if sympa-upgrade-password either saved it's progress periodically, or supported saving upon interruption.

Current Behavior

Currently if I interrupt the process after some time, the cache does not get saved and all work is lost.

Possible Solution

Options I thought of:

  • save the cache after each successful password_user conversion. This is kind of a lot but would also let you watch the cache grow and check status.
  • setup a signal handler so upon interrupt or hangup it saves the current progress

Context

I have 140k users with RC4 passwords to convert, so it will probably take a while :)
But the target audience for this feature is pretty small.

Bonus feature request: the --limit option isn't documented

@taggart
Copy link
Contributor Author

taggart commented Jan 14, 2025

It turned out that even with 140k users I just didn't interrupt it and it still finished overnight. The feature would still be nice, but the number of the users using this tool is approaching zero (maybe I am the last one!)

@taggart taggart closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant