Open ghost opened 9 years ago
Here are some test files made by myself, all of them have the same password, testcase. test.zip
My personal opinion is:
I tried unpacking but hit the usual first problem that the password did not appear to work from a command line that was because they were 2020 format ! My Bad on re-checking it was finger trouble. However the comment below still applies in that in the past I have been frequently been blocked from using a valid password unless the unpacker is a newer version.
Apart from the frequent delay in getting the compatible unpacking release: (e.g. you can currently unpack 2019 version 7zip via CLI, but that may not work with 2021 files and source code is notoriously held closed for some time before release, best way is open the files is to use 7zFM GUI where you pass the unpacked files out to view in SumatraPDF)
When Portable File formats are corrupted to become wrapped in a form of DRM (such as those bastardised PDFs endorsed by Adobe commercial plugins) then I don't expect SumatraPDF to be able to open them.
Likewise if someone wraps encoded images within an encryption wrapper even if it is a simple zip, I again think it is an abhorrent unnecessary quintuple waste of man years. You wait while wrapper fails to decompresses, then take time to apply a password (often the greatest slowdown) then wait for content to be both slowly decrypted and decompressed then finally the unpacked content is loaded for any one to access.
I do understand the need to restrict easily opening files, perhaps based on the age of young viewers. Thus a parent may wish to keep younger family members from viewing inappropriate content. However that is much more easily done by other means than wrapping every single image or a small batch of images. Just encrypt the drive, or use UAC, that is enough of a waste of time.
Currently there is no inbuilt means to handle access to encrypted pages as its in effect garbled by password encryption.
MuPDF engine can only see CB zip or others if the are not garbled by encryption, this is much the same as for say OpenRasterArchives or OpenX
PDF uses a different type of password control that is more "selective" to different functions (and thus DRM). but just as worthless once a file is open.
It would be great is SumatraPDF could also view CBZ, CB7,and CBR files that are password-protected (if the user enters the right password on request, of course).