Skip to content

A simple tool to generate and verify license keys for your app.

License

Notifications You must be signed in to change notification settings

yoctosoft-ltd/keygen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Key Generator

A simple tool to generate and verify license keys for your app.

This app uses RSA signature verification to sign the email address of a user with a private key, then verify the signature with an associated public key.

The main window.

Installation

From the Python Package Index:

pip install keygen-yocto

or from the source:

./setup.py install

Requirements

Usage

keygen
  1. Generate a new pair of RSA keys.

    The New RSA Keys dialog.

    Note: You will only have to do this once.

  2. When a user purchases a license, generate a license key and send it to the user.

    The License Key dialog.

    Note: Sales and Customer Service teams will only have to do this step. You will have to ship the private RSA key with this app to them.

  3. In your app, verify that the license key is valid.

    from keygen import keys
    
    if keys.valid('email', 'license_key', 'public_key'):
        pass    # The license key is valid.
    else:
        pass    # The license key is invalid.

    Note: You will have to ship the public RSA key with your app.

Support

Email info@yoctosoft.co.za for help.

Roadmap

  1. Verify license keys in the GUI.
  2. Show a list of license keys that was generated.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Acknowledgements

License

Copyright (c) 2020 Yoctosoft (PTY) Ltd. info@yoctosoft.co.za

This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public License for more details.

About

A simple tool to generate and verify license keys for your app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages