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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file keygen-yocto-2.0.0.tar.gz.

File metadata

  • Download URL: keygen-yocto-2.0.0.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

File hashes

Hashes for keygen-yocto-2.0.0.tar.gz
Algorithm Hash digest
SHA256 42f5f482b8e93b75883a0b06539b28004d79a6d5eb4309e1f2ee41ce4d8f8b1d
MD5 f92a55a8f6e4f995843e6accb65c4953
BLAKE2b-256 e060230b2eb6b6bf906c3ff043c05017f19cc64a32978d486eee5c173db92c90

See more details on using hashes here.

File details

Details for the file keygen_yocto-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: keygen_yocto-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 87.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.2

File hashes

Hashes for keygen_yocto-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d3ec04fd487f6b2ecf77d03a4bde05525d8ea08bde9bb980ea07600f3650e6c
MD5 3ea583b038f02291bb7d69e845f76f99
BLAKE2b-256 e5e66c84a229403aad3d01a12d77628cf60154046297083afbb17789841615a6

See more details on using hashes here.

Supported by

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