aonez / aonez/Keka

Verification sporadically fails on 7z creation

Open
#1,318 13 comments 0 reactions 1 assignee Claimed by @aonez View on GitHub
more info needed verify works for me
Dominant language
PHP
Stars
7.3k
Forks
294
Avg merge
14d 16h
Merged PRs (30d)
1

Description

### Configuration
- Keka version: 1.3.3 (5230)
- macOS version: Ventura 13.4.1 (c)

### Describe the bug
I was creating about 20 7z AES encrypted archives, with splitting turned on, and verification. One did not verify properly. When tested using 7z-cli, it checked out just fine.

### To Reproduce
This happens sporadically, and I'm not certain I can reproduce it.

### Expected behavior
Verification to succeed, provided it would succeed using 7z-cli.

### Screenshots

Keka:
![Screenshot 2023-08-26 at 12 38 58 PM](https://github.com/aonez/Keka/assets/6868732/6f471903-60df-4514-a545-4125850efe8b)

7z-cli:
```
7zz t /Volumes/Media\ Backup\ \(RAID-1\)/2010.7z.001

7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
64-bit locale=en_US.UTF-8 Threads:8 OPEN_MAX:256

Scanning the drive for archives:
1 file, 4697620480 bytes (4480 MiB)

Testing archive: /Volumes/Media Backup (RAID-1)/2010.7z.001

Enter password: ******

--
Path = /Volumes/Media Backup (RAID-1)/2010.7z.001
Type = Split
Physical Size = 4697620480
Volumes = 9
Total Physical Size = 40991022614
----
Path = 2010.7z
Size = 40991022614
--
Path = 2010.7z
Type = 7z
Physical Size = 40991022614
Headers Size = 144502
Method = Copy 7zAES
Solid = -
Blocks = 3888

Everything is Ok

Folders: 110
Files: 3888
Size: 40990848573
Compressed: 40991022614
```

Lastly, here's Keka's output log:

```
OS: Version 13.4.1 (c) (Build 22F770820d) (x86_64)
Keka: v1.3.3-r5230 (WEB) (NOT sandboxed) (en)
Binary used: keka7zz
Arguments: (
a,
"-t7z",
"-snh",
"-snl",
"-v4697620480b",
"-mx0",
"-p",
"-mhe",
"-ms=off",
"-bsp1",
"-spd",
"/Volumes/Media Backup (RAID-1)/2010.7z",
"/Volumes/Media/Media/2010"
)

7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20 : Modified by aone for Keka
64-bit locale=en_US.UTF-8 Threads:8 OPEN_MAX:2560 temp_path:/Users/akrabu/Library/Application Support/Keka/Temp/

Scanning the drive:
0M Scan /Volumes/Media/Media/
110 folders, 3888 files, 40990848573 bytes (39 GiB)

Creating archive: /Volumes/Media Backup (RAID-1)/2010.7z

Add new data to archive: 110 folders, 3888 files, 40990848573 bytes (39 GiB)

___KEKA___PASSWORD___KEKA___:

0%

Files read from disk: 3888
Archive size: 40991022614 bytes (39 GiB)
Volumes: 9
Everything is Ok

Verifying compression...
OS: Version 13.4.1 (c) (Build 22F770820d) (x86_64)
Keka: v1.3.3-r5230 (WEB) (NOT sandboxed) (en)
Binary used: keka7zz
Arguments: (
t,
"/Volumes/Media Backup (RAID-1)/2010.7z.001"
)

7-Zip (z) 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20 : Modified by aone for Keka
64-bit locale=en_US.UTF-8 Threads:8 OPEN_MAX:2560 temp_path:/Users/akrabu/Library/Application Support/Keka/Temp/

Scanning the drive for archives:
1 file, 4697620480 bytes (4480 MiB)

Testing archive: /Volumes/Media Backup (RAID-1)/2010.7z.001

___KEKA___PASSWORD___KEKA___:

--
Path = /Volumes/Media Backup (RAID-1)/2010.7z.001
Type = Split
Physical Size = 4697620480
Volumes = 9
Total Physical Size = 40991022614
----
Path = 2010.7z
Size = 40991022614
--
Path = 2010.7z
Type = 7z
Physical Size = 40991022614
Headers Size = 144502
Method = Copy 7zAES
Solid = -
Blocks = 3888

ERROR: CRC Failed in encrypted file. Wrong password? : 2010/2010-07-23 (...)/MVI_3248 [A5E63D1F].MOV

Sub items Errors: 1

Archives with Errors: 1

Sub items Errors: 1

Error code 340
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.