Closed
Bug 821592
Opened 12 years ago
Closed 12 years ago
Update the "Privileged App Test" app used for test_signed_apps-marketplace.js to one that is signed with the marketplace prod test cert
Categories
(Core Graveyard :: DOM: Apps, defect, P1)
Core Graveyard
DOM: Apps
Tracking
(blocking-basecamp:+, b2g18 fixed)
Tracking | Status | |
---|---|---|
b2g18 | --- | fixed |
People
(Reporter: briansmith, Assigned: briansmith)
References
()
Details
Attachments
(2 files, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #772365 +++
(In reply to Brian Smith (:bsmith) from Bug #772365 comment #97)
> Created attachment 691721 [details] [diff] [review]
> Part 4: Check signature during app installation, diff -w [NOT FOR CHECKIN]
>
> This is the diff -w version of attachment 691719 [details] [diff] [review].
> With this patch, I can successfully (modulo bugs not related to signing)
> install a privileged app from the dev. marketplace. In particular,
> https://marketplace-dev.allizom.org/app/privileged-app-test/.
>
> The actual test app (privileged-app-test) has the following bugs:
>
> 1. It's manifest wrongly requests "device-storage" instead of
> "device-storage:pictures."
> 2. The contacts API portion of the test app fails.
> 3. The device storage portion of the app doesn't give a visible indication
> of passing or failing.
>
> These issues with the test app should be resolved soon, because the test app
> is embedded in the Gecko test suite in part 3.3 of this patch series.
I think jsmith said he was going to update the app to fix the bugs, so I am assigning this to him. Once the app is attached here, I will update the copy in the test suite with the new version.
Comment 1•12 years ago
|
||
Yeah, I'll look into it.
We wouldn't hold the release for this, so not a blocker.
But we obviously need to test the signing code somehow (manual or automated), so whatever needed to make that happen should obviously be worked on.
blocking-basecamp: ? → -
Comment 3•12 years ago
|
||
Here's an updated signed packaged app with a bunch of fixes I've made (including the ones specified). Note that the failure in the contacts api was actually a bug, not a bug in the app.
Comment 4•12 years ago
|
||
Redirecting to bsmith now that there's an updated app.
Assignee: jsmith → bsmith
Updated•12 years ago
|
Assignee | ||
Comment 5•12 years ago
|
||
Ryan, I cannot replace the marketplace-dev cert with the marketplace-prod (test) cert until I have the test app signed with the marketplace-prod cert. Could you please sign the cert and attach it to this bug.
(blocking-basecamp because it blocks another blocking-basecamp bug.)
Blocks: 824199
blocking-basecamp: - → ?
Flags: needinfo?(rtilder)
Summary: The "Privileged App Test" app used for test_signed_apps-marketplace.js is not a valid app → Update the "Privileged App Test" app used for test_signed_apps-marketplace.js to one that is signed with the marketplace prod test cert
Target Milestone: --- → B2G C4 (2jan on)
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Brian Smith (:bsmith) from comment #5)
> Could you please sign the cert and attach it to this bug.
That is, could you please sign the app that jsmith attacked to this bug with the prod cert, and then attach the re-signed version to this bug?
Comment 7•12 years ago
|
||
jsmith: do you have an app that passes validation? The one attached fails: http://cl.ly/image/0R1R3j0V1G3G. We need to upload that prod to see if the signing passes.
Assignee | ||
Comment 8•12 years ago
|
||
The Marketplace now requires the app to contain an icon that is at least 128x128, so I had to slightly resize the icon. I also removed META-INF so it could be re-signed.
Marketplace prod. is still rejecting the app though because it doesn't accept apps that specify "type" : "privileged" in the manifest.
Attachment #695397 -
Attachment is obsolete: true
Assignee | ||
Comment 9•12 years ago
|
||
Lisa, I have attached the new version of the app to this bug. Since marketplace prod won't accept the app as it is because it is "type" : "privileged", could we get the app signed using some other path, and/or push a one-off fix for the "type" : privileged" issue to Marketplace Prod. on Tuesday?
Flags: needinfo?(rtilder) → needinfo?(amckay)
Comment 10•12 years ago
|
||
Flags: needinfo?(amckay)
Comment 11•12 years ago
|
||
(In reply to Andy McKay [:andym] from comment #7)
> jsmith: do you have an app that passes validation? The one attached fails:
> http://cl.ly/image/0R1R3j0V1G3G. We need to upload that prod to see if the
> signing passes.
Yeah. I realized that after attaching this app - the validator changed. I'll add a second attachment with the fixes (took care of this, but didn't update the bug).
(In reply to Brian Smith (:bsmith) from comment #8)
> Created attachment 698871 [details]
> Test app with two bugs fixed
>
> The Marketplace now requires the app to contain an icon that is at least
> 128x128, so I had to slightly resize the icon. I also removed META-INF so it
> could be re-signed.
>
> Marketplace prod. is still rejecting the app though because it doesn't
> accept apps that specify "type" : "privileged" in the manifest.
That's a bug that I know is fixed on dev, but I'm guessing the fix hasn't been pushed to prod then.
Comment 12•12 years ago
|
||
Its alright jsmith we've got it and the app is live, sorry didn't update bug.
Updated•12 years ago
|
blocking-basecamp: ? → +
Assignee | ||
Comment 13•12 years ago
|
||
Thanks everybody!
I update the copy of the app for test_signed_apps-marketplace.js in bug 824199.
No longer blocks: 824199
Status: NEW → RESOLVED
Closed: 12 years ago
status-b2g18:
--- → fixed
Depends on: 824199
Resolution: --- → DUPLICATE
Whiteboard: [c1-ex:79]
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•