如何签名您的Firefox扩展? [英] How do you sign your Firefox extensions?

查看:169
本文介绍了如何签名您的Firefox扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了一对Firefox的扩展,很遗憾,这是很难得到扩展签名。当一个扩展没有签名,它说作者未验证,当它被安装,对我看来,只是看起来错误。

I have developed a couple of extensions for Firefox, and am annoyed that it is so hard to get the extension signed. When an extension isn't signed, it says "Author not verified" when it is installed, and to me that just looks wrong.

我有一个简单的构建脚本从源代码构建我的.xpi文件,我有一个PKZip的许可副本(根据一些教程需要构建一个签名的xpi文件,Firefox需要),但我没有找到一种方法来获得一个免费/

I have a simple build script that builds my .xpi file from sources, and I have a licenced copy of PKZip (which according to a number of tutorials is required to build a signed xpi file that Firefox requires), but I haven't found a way to get a free/cheap certificate that actually works or a set of instructions that do the trick.

由于我的扩展程序是免费的,我不想花400美元在商业证书上,但是,我不介意花50美元左右来完成。我有两个Linux和Windows机器,虽然我的构建脚本目前使用Windows,这将是最方便使用。

Since my extensions are free, I don't want to spend $400 on a commercial certificate, but I don't mind spending $50 or so to get it done. I have both Linux and Windows machines, although my build script currently uses Windows and that would be most convenient to use.

您如何解决这个问题?我需要做什么以在建立时自动安全地签署我的扩展程序?

How have you solved this? What do I need to do to automatically and securely sign my extensions when they are built?

编辑:我感谢Google的点击,但他们提供的步骤不完整足够如何实际获得一个工作的证书。感觉让我想起这个经典:

I appreciate the Google hits, but the steps they provide aren't complete enough on how to actually get a certificate that works. The feeling I get reminds me of this classic:

推荐答案

我使用comodo证书签名XPI。这是当时最便宜的选择。

I've used the comodo certificate to sign XPIs. It was the cheapest option at the time.

我已经在 XPI Forma t and a howto for

I've written a few posts on the XPI Format and a howto for signing using a java commandline tool.

我的工具 XPISigner 大大简化了过程,可以集成到构建系统中。

My tool XPISigner simplifies the process considerably and is integratable into build systems.

我已删除该工具,因为它不再适用于FF4或更高版本。来源可以在 http://code.google.com/p/xpisigner/ 上查看任何人都感觉像修复。

I've removed the tool as it no longer works with FF4 or higher. Source is available on http://code.google.com/p/xpisigner/ if anyone feels like fixing.

这篇关于如何签名您的Firefox扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆