Closed
Bug 681379
Opened 14 years ago
Closed 14 years ago
Don't watermark signed addons
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
6.2.3
People
(Reporter: andy+bugzilla, Assigned: andy+bugzilla)
Details
(Whiteboard: [t:muffin])
I would be surprised if an add-on could get through validation and review without the install.rdf file being able to watermarked successfully. But let's think of one: unicode, because that always fun.
It would really suck for an end user if they paid for an app, then we generate the watermark only to find we can't because of some unforeseen problem.
Before an app goes on sale we need to do a dry run of the watermark and make sure it can be applied successfully otherwise it can't be done.
Perhaps this should be part of the validation process?
Comment 1•14 years ago
|
||
How about we make the code so we can always apply a watermark no matter what? :)
Getting an error back about "unable to apply watermark" sounds like our problem, not the developers.
| Assignee | ||
Comment 2•14 years ago
|
||
+1 on that. What if the install.rdf is completely corrupt though? We assuming it won't get past validation / upload?
Comment 3•14 years ago
|
||
validation is pretty strict, I'd say so. If not, that's a bug in the validator.
Comment 4•14 years ago
|
||
The main concern with watermarking will be signed add-ons. We can't tamper with signed add-ons and will either need to disallow them from being sold or exclude install.rdf from the signing.
Mossop, do you have any thoughts on what we can do here?
Comment 5•14 years ago
|
||
(In reply to Justin Scott [:fligtar] from comment #4)
> The main concern with watermarking will be signed add-ons. We can't tamper
> with signed add-ons and will either need to disallow them from being sold or
> exclude install.rdf from the signing.
>
> Mossop, do you have any thoughts on what we can do here?
This is a good point, I think right now the only choice is to disallow signed add-ons, we have code that verifies that in a signed add-on every single file is signed I think.
Comment 6•14 years ago
|
||
Can you tell us the easiest way to identify an .xpi package as signed?
Comment 7•14 years ago
|
||
(In reply to Justin Scott [:fligtar] from comment #6)
> Can you tell us the easiest way to identify an .xpi package as signed?
Signed XPIs have two files in the META-INF directory <name>.sf and <name>.rsa. The name can be anything as long as it is the same for the sf and rsa files but is commonly "zigbert".
Comment 8•14 years ago
|
||
Thanks. Some example signed add-ons (from memory), for testing purposes, are Adblock Plus, Offer Assistant, WOT, NoScript.
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → amckay
Summary: Check addon can be watermarked when uploading → Don't watermark signed addons
Target Milestone: --- → 6.2.3
| Assignee | ||
Comment 9•14 years ago
|
||
Can now detect signed add-ons: http://github.com/jbalogh/zamboni/commit/44182d
We should put this in the marketplace signup and file upload for signed addons (will file bugs for this).
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•