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

Unix CLI: Don't initially re-ask PIM if it was already specified #1288

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

Jertzukka
Copy link
Contributor

We don't need to reset PIM in PasswordException as it is immediately fell back to if PIM is specified in text mode, but password is not. This causes an exception that resets the PIM when it shouldn't. If a password is given incorrectly, we still get caught by PasswordIncorrect and PIM is correctly reset to -1 as proposed and implemented in eb61010 based on #1026.

Fixes #1286

We don't need to reset PIM in PasswordException as it is immediately
fell back to if PIM is specified in text mode, but password is not.
This causes an exception that resets the PIM when it shouldn't.
@idrassi
Copy link
Member

idrassi commented Apr 10, 2024

Thank you for fixing this.

@idrassi idrassi merged commit dc8d8ce into veracrypt:master Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pim=0 no longer works
2 participants