Mozilla Firefox add-on signing
On new Firefox releases, user can't install unsigned Firefox extension. Extensions on Mozilla repo should be signed automatically. But for some reasons not it all. As example Browser Turns Editor. Funny thing is now you can't download it via Firefox. I have a copy of this xpi, no problems for me.
Get API Keys
It's easy. Just register on Mozilla repo. After this Manage API Keys, and generate it.
Install jpm
jpm - Jetpack Mechanic utilities for creating, testing, running and packaging Mozilla Jetpack Addons.
Install it via npm or your package manager.
npm install jpm
Sign extension
Easy.
jpm sign --api-key ${AMO_API_KEY} --api-secret ${AMO_API_SECRET} --xpi <xpi file>
If all okay, jpm download to $PWD signed extension.