New issue
Advanced search Search tips

Issue 785691 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

Zip Archiver: Memorize and rotate multiple keys, requiring new one when needed

Project Member Reported by yamaguchi@chromium.org, Nov 16 2017

Issue description

Chrome 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.
 
Components: Platform>Apps>FileManager
This is an example zip file which was made following (1).
various_passwords_aes.zip
3.1 KB Download
Description: Show this description

Comment 4 by sashab@chromium.org, Feb 22 2018

Labels: CrOS-FilesApp-Zip

Comment 5 by sashab@chromium.org, Feb 28 2018

Labels: -CrOS-FilesApp-Zip CrOSFilesFeature-Zip
Labels: M-67
Status: Assigned (was: Untriaged)
Owner: ----
Status: Available (was: Assigned)
Labels: -M-67

Sign in to add a comment