[BUG][BUG] Possible E_INVALIDARG with password containing German ß
Configuration
- Keka version: 1.6.7-r5729 (MAS) (Sandboxed), German locale
- macOS version: 26.6.2 (Build 25G83), arm64
- Binary used: keka7zz / 7-Zip 26.02
Describe the bug
While creating a password-protected archive, Keka scanned all input files successfully but failed immediately after requesting the password:
System ERROR:
E_INVALIDARG : One or more arguments are invalid
Error code 2The password contained the German character ß. A subsequent attempt using a password without ß succeeded.
The actual password and the complete log are intentionally not included because they contain private information and filenames.
The ß character is the suspected trigger, but it has not yet been isolated with a minimal test case. The failing run used ZIP format and a 4 GiB volume setting. The successful run was made after reconfiguring Keka, so more than one setting may have differed.
To Reproduce
Observed sequence:
- Select ZIP format.
- Configure 4 GiB volume splitting.
- Enter and repeat a password containing
ß. - Compress 1,811 files with a total size of approximately 21 GiB.
- Keka scans all files and requests the password.
- Archive creation fails with
E_INVALIDARGand error code 2. - Retry with a password without
ß; archive creation succeeds.
A smaller isolated reproduction comparing otherwise identical passwords with and without ß is still needed.
Expected behavior
Unicode characters such as ß should be accepted in archive passwords.
If the selected archive format or backend does not support such characters, Keka should validate the password before starting and show a clear error message instead of the generic E_INVALIDARG error.
Sanitized log excerpt
Keka: v1.6.7-r5729 (MAS) (Sandboxed)
Binary used: keka7zz
Arguments included:
a
-tzip
-v4294967295b
-p
Scanning the drive:
1811 files, 22203085855 bytes (21 GiB)
Creating archive: [redacted]/Archiv.zip
Add new data to archive: 1811 files, 22203085855 bytes (21 GiB)
___KEKA___PASSWORD___KEKA___:
System ERROR:
E_INVALIDARG : One or more arguments are invalid
Error code 2Source: aonez/Keka