Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(459)

Issue 2157933002: add one step to verify the signature in intent for chrome while the intent has a scheme for the app. (Closed)

Created:
4 years, 5 months ago by cruise1008
Modified:
4 years, 5 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

new issue has created and moved to https://codereview.chromium.org/2167573003/. please check that issue and review and discuss about the feature. Thank you. As we have changed the account to use company email "alipay", belong to Alibaba inc.. ####### Add one step to verify the signature in intent for chrome while the intent has a scheme for the app. BUG=629713 TEST=start a website which contains a scheme intent in chrome, one intent case contains official app signature , it can start activity in app, and one another intent case contains fake app signature, the chrome won't start activity of the fake app. e.g. original intent: "intent://platformapi/startapp?appId=20000001&_t=1468848794586#Intent;scheme=alipays;package=com.eg.oandroid.AlipayGphone;end". optimized intent(add sha256): "intent://platformapi/startapp?appId=20000001&_t=1468848794586#Intent;scheme=alipays;sha256=389B49F7832F53E9017923220AA85E14DFAA4886ECD7428818BF339543CF498A;package=com.eg.android.AlipayGphone;end". the method is compatible for all chrome.

Patch Set 1 #

Patch Set 2 : refine code style #

Patch Set 3 : refine code style #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -2 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegate.java View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationDelegateImpl.java View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/externalnav/ExternalNavigationHandler.java View 1 5 chunks +86 lines, -1 line 2 comments Download

Messages

Total messages: 16 (11 generated)
please use gerrit instead
I recommend that you re-upload the patch with your @alibaba-inc.com email. Alibaba employees are already ...
4 years, 5 months ago (2016-07-18 17:41:35 UTC) #2
cruise1008
On 2016/07/18 17:41:35, Rouslan (ツ) wrote: > I recommend that you re-upload the patch with ...
4 years, 5 months ago (2016-07-19 02:47:50 UTC) #5
esprehn
Can you explain how this works in the change description? What are we hashing? How ...
4 years, 5 months ago (2016-07-19 05:52:12 UTC) #9
cruise1008
On 2016/07/19 05:52:12, esprehn wrote: > Can you explain how this works in the change ...
4 years, 5 months ago (2016-07-19 13:15:36 UTC) #14
please use gerrit instead
4 years, 5 months ago (2016-07-19 15:42:31 UTC) #15
Closing this code review in favor of http://crrev.com/2160193002, which has been
uploaded in order to use author's @alipay.com email address.

Powered by Google App Engine
This is Rietveld 408576698