如何签署一个Firefox扩展 [英] How to Signing a Firefox Extension
问题描述
我已经通过本网站给出的指示。但无法登录扩展名。在我的情况下,signtool和emu certutil命令没有运行。
如果有人知道签名Firefox扩展的过程那么请让我知道。
Thanks。
您遵循的文档是旧的开发人员证书签名,现在已经过时,因为只有Mozilla证书现在是允许的。
- 从 / addon / api / key /rel =nofollow> AMO 。 jpm 用于SDK开发,您可以这样做:
jpm sign --api -key $ {AMO_API_KEY} --api-secret $ {AMO_API_SECRET}
- 否则,签署<$
$ b $ p $ j $ sign $ x $ / $ c $> /to/your-addon.xpi --api-key $ {AMO_API_KEY} --api-secret $ {AMO_API_SECRET}
- 否则,签署<$
这里有一些资源可以帮助你:
- https://wiki.mozilla.org/Addons/Extension_Signing
- https:/ /blog.mozilla.org/addons/2015/11/20/signing-api-now-available/
- https://blog.mozilla.org/addons/2015/12/18/
I want to signing the Firefox extension. I have search on internet regarding signing the extension and found the URL https://developer.mozilla.org/en/docs/Signing_a_XPI. I have gone through the instructions given in this site. But could not sign-in the extension. In my case signtool and certutil commands are not running.
if anyone know the process of signing the Firefox extension then please let me know. Thanks.
The document you followed is for old developer-certificate signing and is now obsolete since only Mozilla certificates are allowed now.
- Get the credentials from AMO.
- if you use
jpm
for SDK development you can just do:
jpm sign --api-key ${AMO_API_KEY} --api-secret ${AMO_API_SECRET}
- otherwise, sign the
xpi
directly:
jpm sign --xpi /path/to/your-addon.xpi --api-key ${AMO_API_KEY} --api-secret ${AMO_API_SECRET}
- if you use
Here are some resources to get you going:
- https://wiki.mozilla.org/Addons/Extension_Signing
- https://blog.mozilla.org/addons/2015/11/20/signing-api-now-available/
- https://blog.mozilla.org/addons/2015/12/18/signing-firefox-add-ons-with-jpm-sign/
这篇关于如何签署一个Firefox扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!