Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keygen-yocto-2.0.0.tar.gz (86.6 kB view hashes)

Uploaded Source

Built Distribution

keygen_yocto-2.0.0-py3-none-any.whl (87.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page