Closed Bug 1172642 Opened 9 years ago Closed 8 years ago

Make sure distribution add-ons work when add-on signing is required by default

Categories

(Firefox for Android Graveyard :: Add-on Manager, defect)

35 Branch
defect
Not set
normal

Tracking

(fennec46+)

RESOLVED WORKSFORME
Tracking Status
fennec 46+ ---

People

(Reporter: Margaret, Assigned: Margaret)

References

Details

I don't think we currently have any active distributions that include add-ons, but we'll need a solution in the future to either sign distribution add-ons, or find a way to force allow these add-ons to be installed.
Mossop, have you thought about this problem for desktop? Is there anything to do here, other than just making sure we sign add-ons that go into distribution bundles?
Flags: needinfo?(dtownsend)
Yeah, they just need to be signed. AMO has an option to upload unlisted add-ons which should work.
Flags: needinfo?(dtownsend)
Karen, do you know if we have any active distributions that bundle add-ons? If not, I'm just going to close this bug and call things done!
Flags: needinfo?(krudnitski)
Active, live distros with add-ons? No.
Flags: needinfo?(krudnitski)
(In reply to Karen Rudnitski [:kar] from comment #4)
> Active, live distros with add-ons? No.

Huzzah!

We should just add this "make sure add-ons are signed" step to our checklist (do we have a checklist?) for creating distributions. I added a note to the distribution wiki page:
https://wiki.mozilla.org/Mobile/Distribution_Files#Add-ons
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Oh... I just realized that testDistribution uses an XPI that we include in out test assets. I may need to sign that, so that this test doesn't fail when we merge to beta/release.

Mossop, what's the best way for me to sign a test add-on? Should I also upload it to AMO as an unlisted add-on?
Status: RESOLVED → REOPENED
Flags: needinfo?(dtownsend)
Resolution: WORKSFORME → ---
Either that, or filing a bug and getting jason to do it manually works. Or we're apparently going to be automatically signing test XPIs on the merge from aurora to beta
Flags: needinfo?(dtownsend)
I'll take this to update the test.

The distribution add-on we're testing is included in a .zip file, so it likely wouldn't be automatically signed. I can just do this manually to update the asset in the tree.
Assignee: nobody → margaret.leibovic
I'll sign the add-on and update it in the tree.

Andy, what's the easiest way for me to sign the add-on?
tracking-fennec: --- → 45+
Flags: needinfo?(amckay)
kmoir is setting up an account on AMO that releng and others can share, so lets use that account. It's probably better than using a personal account.

Once we've got that account, its just a matter of either using the API or just going to the submit addon page, using that account and submit it. You have to ensure its unlisted so it doesn't go through the review process. You can then download it from the review pages.
Flags: needinfo?(amckay) → needinfo?(kmoir)
Bug 1239843 is for signing account for automation
Flags: needinfo?(kmoir)
tracking-fennec: 45+ → 46+
I haven't done anything to sign the bundled distribution add-on, but this is already on beta, and I haven't seen any failures happening, so I'm going to just close this out.
Status: REOPENED → RESOLVED
Closed: 9 years ago8 years ago
Resolution: --- → WORKSFORME
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.