Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

package xpi, "corrupt" error

more options

I downloaded FireFTP add-on https://addons.mozilla.org/en-us/firefox/addon/fireftp/

But I hate the ugly blue seahorse icon in the toolbar. So I extracted the xpi, replaced the .ico and. png files, then repackaged it back as .xpi (first as zip, then renamed zip to xpi). I only did the content inside the top folder too, to clarify.

I get this error attached. Would appreciate help. Thanks.

I downloaded FireFTP add-on https://addons.mozilla.org/en-us/firefox/addon/fireftp/ But I hate the ugly blue seahorse icon in the toolbar. So I extracted the xpi, replaced the .ico and. png files, then repackaged it back as .xpi (first as zip, then renamed zip to xpi). I only did the content inside the top folder too, to clarify. I get this error attached. Would appreciate help. Thanks.
Capturas de tela anexadas

Solução escolhida

Did you disable enforcement of extension signing in Firefox 41? Because repackaging the extension likely would invalidate the signature and maybe that is the meaning of the message.

But I do think I've run into that problem in older versions of Firefox. The workaround was to drag and drop the replacement parts onto the extension file and let the Zip software switch it out. I can't recall which Zip software I was using at the time.

Ler esta resposta 👍 0

Todas as respostas (6)

more options

Solução escolhida

Did you disable enforcement of extension signing in Firefox 41? Because repackaging the extension likely would invalidate the signature and maybe that is the meaning of the message.

But I do think I've run into that problem in older versions of Firefox. The workaround was to drag and drop the replacement parts onto the extension file and let the Zip software switch it out. I can't recall which Zip software I was using at the time.

more options

You can no longer make changes to an extension as that will invalidate the signing. You will have to remove the META-INF folder to remove the signing data (manifest) and possibly disable signing in Firefox.

more options

"Did you disable enforcement of extension signing in Firefox 41"

I don't see this option anywhere. I'm running FF 41b4 version (64bit).

I also tried deleting the META-INF folder, repackaged and still getting the error when I drag/drop the extension into Firefox.

more options

Nevermind, found it in about:config section.

Change to false for xpinstall.signatures.required

Thanks

more options

i have this problem after re-pack xpi our extension. my singed xpi can work on firefox 40 and 39 but that doesn not work on firefox 41

more options

Hi tux-world, I see you have a separate question here where it probably makes sense to continue: https://support.mozilla.org/questions/1082284