New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 775160 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 0
Type: Bug



Sign in to add a comment

Support comment signed WebAPK with larger gaps between files.

Project Member Reported by scottkir...@chromium.org, Oct 16 2017

Issue description

For comment-signed WebAPKs (which there are currently none in the wild), we permit only a small 'extra field' APK zip of 8 bytes.
Because of .so files and other uses of the extra-field we need to support much larger fields, on the order of 4kb+ a bit.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8c0020b092996ef5e3d95c415c86006ca1a2e55a

commit 8c0020b092996ef5e3d95c415c86006ca1a2e55a
Author: Scott Kirkwood <scottkirkwood@chromium.org>
Date: Tue Oct 17 19:52:09 2017

Add new limits for extra field, updated test file.

Bug:  775160 
Change-Id: Ic0f2a818386c78cf7b610035f7841f08e5477ab9
Reviewed-on: https://chromium-review.googlesource.com/723783
Reviewed-by: Peter Kotwicz <pkotwicz@chromium.org>
Commit-Queue: Scott Kirkwood <scottkirkwood@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509491}
[modify] https://crrev.com/8c0020b092996ef5e3d95c415c86006ca1a2e55a/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkVerifySignature.java
[modify] https://crrev.com/8c0020b092996ef5e3d95c415c86006ca1a2e55a/chrome/test/data/webapks/extra-field-too-large.apk

Labels: M-62
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 18 2017

Labels: merge-merged-3202
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4c6868ce0a5fe7fbfa60029594274c141d36f4c7

commit 4c6868ce0a5fe7fbfa60029594274c141d36f4c7
Author: Andrew Grieve <agrieve@chromium.org>
Date: Wed Oct 18 14:54:10 2017

Add new limits for extra field, updated test file.

TBR=scottkirkwood@chromium.org

(cherry picked from commit 8c0020b092996ef5e3d95c415c86006ca1a2e55a)

Bug:  775160 
Change-Id: Ic0f2a818386c78cf7b610035f7841f08e5477ab9
Reviewed-on: https://chromium-review.googlesource.com/723783
Reviewed-by: Peter Kotwicz <pkotwicz@chromium.org>
Commit-Queue: Scott Kirkwood <scottkirkwood@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#509491}
Reviewed-on: https://chromium-review.googlesource.com/725999
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/branch-heads/3202@{#711}
Cr-Branched-From: fa6a5d87adff761bc16afc5498c3f5944c1daa68-refs/heads/master@{#499098}
[modify] https://crrev.com/4c6868ce0a5fe7fbfa60029594274c141d36f4c7/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkVerifySignature.java
[modify] https://crrev.com/4c6868ce0a5fe7fbfa60029594274c141d36f4c7/chrome/test/data/webapks/extra-field-too-large.apk

Project Member

Comment 4 by bugdroid1@chromium.org, Oct 18 2017

Labels: merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f9a91c48e6f2c466e6f6785d93970820f92a5d15

commit f9a91c48e6f2c466e6f6785d93970820f92a5d15
Author: Andrew Grieve <agrieve@chromium.org>
Date: Wed Oct 18 16:01:46 2017

Add new limits for extra field, updated test file.

TBR=scottkirkwood@chromium.org

(cherry picked from commit 8c0020b092996ef5e3d95c415c86006ca1a2e55a)

Bug:  775160 
Change-Id: Ic0f2a818386c78cf7b610035f7841f08e5477ab9
Reviewed-on: https://chromium-review.googlesource.com/723783
Reviewed-by: Peter Kotwicz <pkotwicz@chromium.org>
Commit-Queue: Scott Kirkwood <scottkirkwood@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#509491}
Reviewed-on: https://chromium-review.googlesource.com/725526
Reviewed-by: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#52}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[modify] https://crrev.com/f9a91c48e6f2c466e6f6785d93970820f92a5d15/chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkVerifySignature.java
[modify] https://crrev.com/f9a91c48e6f2c466e6f6785d93970820f92a5d15/chrome/test/data/webapks/extra-field-too-large.apk

Comment 5 by cma...@chromium.org, Oct 18 2017

Labels: -Pri-3 ReleaseBlock-Stable Pri-0
I tried verifying the issue with Maps WebApk from https://b.corp.google.com/issues/67907879#comment8 on latest M64 build 64.0.3243.0, but it still repros there.

Tot change list: https://chromium.googlesource.com/chromium/src/+log/64.0.3242.0..64.0.3243.0?pretty=fuller&n=10000 

Comment 7 by cma...@chromium.org, Oct 18 2017

For testing please take a look at b/67907879
verified the issue with Maps WebApk from https://b.corp.google.com/issues/67907879#comment8 on 61.0.3163.128 on Android Go / OMB1.171017.003 and issue is fixed. 

1. Install Maps Webapk
2. Install Chrome 61.0.3163.128 
3. Tapping on Maps Webapk launches MapsWebapp.

- I had to pick up MonochromeStable.apk from NEXT folder, apks from non Next folder gives [INSTALL_FAILED_VERSION_DOWNGRADE] error.

Comment 9 by cma...@chromium.org, Oct 24 2017

scottkirkwood@ please mark as fixed
Status: Fixed (was: Assigned)

Sign in to add a comment