-
-
Notifications
You must be signed in to change notification settings - Fork 964
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
Password field does not accept accented caracter made of a dead key + a letter #1427
Comments
Cannot confirm that behaviour on Linux with german keyboard layout. |
It’s very likely to be OS-dependent. |
This also affects Veracrypt CLI. On macOS 14.6, with Azerty layout (or Ergol by the way), if I create an encrypted volume and enter (not by copy-pasting but at the keyboard) a password such as But actually, the password than can decrypt the volume is not If I write On Debian, everything works fine. |
wxWidgets uses the macOS native NSSecureTextField, which is the cause of the problem. If you google NSSecureTextField umlaut / deadchar, you can find topics on StackOverflow (like this and this). It seems to an really old issue, and some comments suggested that fixing it would break compatibility with older behaviour, which I kind of agree. If it was to be fixed, anyone on macOS who has created a volume with password hidden, after a "fix" would be unable to open their volumes as they would've input their old password in the old format. Obviously current behaviour is problematic also as password created on macOS behave differently than Linux or Windows. |
On macOS (not tested on other OSes)
Using either BÉPO layout and keymap file, or ERGOL layout and keymap file.
The password field at creation-time and during use does not accept accented caracter made of à dead key + a letter.
If you are using a direct "é" letter, it works as expected.
If you are using a combo of dead-key and "e", the dead-key has no effect IF you choose not to display password while typing.
If you choose te display the password while typing, the dead key works.
Expected behavior
The dead-key should work every time, whether or not you choose to display the password.
Observed behavior
The dead-key is ignored if password field is in conceal mode.
The dead-key works if password field is in reveal mode.
Steps to reproduce
Your Environment
tested on macOS 14.6 + ERGOL and macOS 13.7 + BÉPO
Please tell us more about your environment
VeraCrypt version: 1.26.14
The text was updated successfully, but these errors were encountered: