Giter Club home page Giter Club logo

licensesigner's Introduction

License Signer

This node app signs json license data by turning a posting document like this...

{ 
    "app": "IdeaPlugin" 
}

...into a signed document like this:

{
    "app":"IdeaPlugin",
    "signature":"2bf523f6884668a70dc194a6fc613233874b3ee0566183348e4fe9aaf5bd329356bfe85a4f5f0fe7d08e366ccac0b28544c4fd79f4deb094a85d070a215e8e56b9dc51b9c07043837826f6bf249eeba3d2b7369c6f711cf81da9a4f06b7f9301b7e4cf9065d09abbb5b1525abe5d5d4a276ce761f0b8f7b4028fd27a480d6bbae52495a158300def9b59799c602f6ec0d496c56915a8bca508dea76fb1301ae5a93efb16960c200d903511f14e2eea4f9bba211ad1317a05335c6b34491258f4b5ba1f3a9a6be8363d69706a13720342e53ac6649e021cf7b0f96229be2b9b82139e97d0b3f90e02a0b7e1ace21c4dbc632d99eff5252c4cee6f1698e6d349ed80dd61733d2b80c0645499f7550e75449d18096f6dc2583218cdc6f9934176afd7009c42b1a305b5cf54bac08b4a5f5ebf9baad12ed86f17481bcb451d9be077066026cdba86abae3b70e00f3cb56a7857cf43060351758f5ae12383add052ab8bf4eb0ecdc2df0564d4602b820b55106b0f4484fd31025316112facac236f183be43eb4bffbcfaaaf7b668be36767dee9562e18a96faffb92b3c80e6f50de15204fa10d9a3aaebac0996192e10958d6c7a497fb26eb654fc1bcbb376fd13f58c05565f98cb30620826c53cd2613172493668a2099638da2ce5f5e3592d155fa645062181fd655f81a4878760d711aa26acd455da85ba83b2a3fbede393271c3"
}

Install

npm install -g nodemon
npm install

Run

nodemon bin/www

Sign

To sign a license, send json data to "/" as the "data" param:

curl -X POST -d "data={\"foo\":\"bar\"}" http://localhost:3000 > license.json

Verify

You can verify a license from the command line

node verify.js -f license.json

licensesigner's People

Contributors

markbrocato avatar

Watchers

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.