digitarald / d2g

Distribute 2 Gecko
MIT License
1 stars 3 forks source link

give script and/or instructions for generating a public/private keypair #2

Open wfwalker opened 10 years ago

wfwalker commented 10 years ago

probably need a build step so that each instance of the d2g service has a public/private keypair for its domain. For use in signing packaged apps on the server AND verifying those signatures on the device at install time.

wfwalker commented 10 years ago

this might work: http://stackoverflow.com/questions/8520973/how-to-create-a-pair-private-public-keys-using-node-js-crypto

wfwalker commented 10 years ago

see also https://github.com/briansmith/marketplace-certs