Zip Archiver: Memorize and rotate multiple keys, requiring new one when needed |
|||||||
Issue descriptionChrome Version: 64.0.3270.0 What steps will reproduce the problem? (1) Create a zip file with multiple images, encryopted with AES with various passwords. (to avoid crbug.com/782197 , it should not be Traditional PKWARE encryption) (2) Open the file. See the zip file is mounted and file list shown. (When prompted, enter the password of the first file in the list which whose thumbnail is not yet loaded.) (3) Open the first file in Gallery. (4) Enter the password for the first file. When prompted further, enter all the passwords of other files sequentially until it stops asking. (5) [rightarrow] several times to navigate to another image. When asked, enter its password. (6) Click the thumbnail of the first file to navigate back. What is the expected result? - Password for the same file should not be asked again. What happens instead? - Password of the first file is asked again. Actually, it happens every time the image is read from disk. Note that similar thing also happens with some apps that opens files opened in the past upon start. For example, text editor app may open all the files in that were opened when the app was shut down last time. In such case, user will be prompted to input passwords of every file one by one when the app restarts. In libarchive, there's a mechanism to memorize multiple passwords for the file in memory. However, minizip doesn't. So Zip Archiver would need to cover this function.
,
Nov 16 2017
This is an example zip file which was made following (1).
,
Nov 16 2017
,
Feb 22 2018
,
Feb 28 2018
,
Feb 28 2018
,
Mar 6 2018
,
Apr 5 2018
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by yamaguchi@chromium.org
, Nov 16 2017