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.
Installation
From the Python Package Index:
pip install keygen-yocto
or from the source:
./setup.py install
Requirements
Usage
keygen
-
Generate a new pair of RSA keys.
Note: You will only have to do this once.
-
When a user purchases a license, generate a license key and send it to the user.
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.
-
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
- Verify license keys in the GUI.
- 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
-
Based on this article.
-
Python-RSA for generating and verifying the keys.
-
Qt for Python for the GUI.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for keygen_yocto-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d3ec04fd487f6b2ecf77d03a4bde05525d8ea08bde9bb980ea07600f3650e6c |
|
MD5 | 3ea583b038f02291bb7d69e845f76f99 |
|
BLAKE2b-256 | e5e66c84a229403aad3d01a12d77628cf60154046297083afbb17789841615a6 |