aonez / aonez/Keka

[BUG][BUG] Possible E_INVALIDARG with password containing German ß

未关闭
#1,774 4 条评论 0 个 reaction 已指派 1 人 已被 @aonez 认领 在 GitHub 查看
bug core zip
主要语言
PHP
星标
7.3k
派生
294
平均合并
14 天 16 小时
30 天内合并 PR
1

描述

### 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 2

The 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:

1. Select ZIP format.
2. Configure 4 GiB volume splitting.
3. Enter and repeat a password containing `ß`.
4. Compress 1,811 files with a total size of approximately 21 GiB.
5. Keka scans all files and requests the password.
6. Archive creation fails with `E_INVALIDARG` and error code 2.
7. 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 2

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by creating a minimal reproduction that compares otherwise identical ZIP passwords with and without `ß`, while keeping the 4 GiB volume setting and other configuration fixed. Trace the password handoff to `keka7zz` and confirm whether the character causes `E_INVALIDARG`; done means Unicode passwords work or are rejected before archive creation with a clear error.

由索引模型根据 Issue 内容生成。

评估

技术栈
macos
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。