GithubHelp home page GithubHelp logo

mythmon / mozilla-addon-signer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rehandalal/mozilla-addon-signer

0.0 3.0 0.0 89 KB

A CLI for signing addon XPIs

License: Mozilla Public License 2.0

Python 100.00%

mozilla-addon-signer's Introduction

mozilla-addon-signer

A CLI for signing addon XPIs

Installation

Clone the repo:

$ git clone https://github.com/rehandalal/mozilla-addon-signer.git

Install the CLI tool (using a virtualenv is recommended):

$ cd mozilla-addon-signer
$ pip install -e .

Getting started

If you manage multiple AWS credentials using named profiles you can specify a default profile for the the tool to use by running the configure command:

$ mozilla-addon-signer configure

This step is optional and can be skipped. You can also pass the profile name you wish as an option to the sign command.

Signing an addon

To get a list of available options for the sign command use:

$ mozilla-addon-signer sign --help

You can sign an addon by running:

$ mozilla-addon-signer sign path/to/unsigned.xpi

If you want the tool to handle downloading the signed addon you may pass in an addition argument for the destination file path:

$ mozilla-addon-signer sign path/to/unsigned.xpi path/to/signed.xpi

Signing an addon from a bugzilla bug

If you want to sign an addon that was attached to a bug in bugzilla you can pass the bug number to:

$ mozilla-addon-signer sign_from_bug 123456

If you want the tool to handle downloading the signed addon you may pass in an addition argument for the destination file path:

$ mozilla-addon-signer sign_from_bug 123456 path/to/signed.xpi

Inspecting the certificate of a signed addon

You can view the certificate for a signed addon by running:

$ mozilla-addon-signer show_cert path/to/signed.xpi

mozilla-addon-signer's People

Contributors

rehandalal avatar

Watchers

Michael Cooper avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.