Skip to main content

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.

Metadata

Release files for keygen-yocto 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keygen-yocto 2.0.0
File Size Uploaded Provenance Actions
keygen-yocto-2.0.0.tar.gz 86.6 kB Without provenance Details for keygen-yocto-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keygen-yocto 2.0.0
File Interpreter ABI Platform Actions
keygen_yocto-2.0.0-py3-none-any.whl Python 3 none any Details for keygen_yocto-2.0.0-py3-none-any.whl

Total release size: 174.3 kB

Release files / keygen-yocto-2.0.0.tar.gz

Download URL keygen-yocto-2.0.0.tar.gz
Size 86.6 kB
Tags Source
SHA-256 checksum
How to use checksums
42f5f482b8e93b75883a0b06539b28004d79a6d5eb4309e1f2ee41ce4d8f8b1d
BLAKE2b-256 checksum
How to use checksums
e060230b2eb6b6bf906c3ff043c05017f19cc64a32978d486eee5c173db92c90
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / keygen_yocto-2.0.0-py3-none-any.whl

Download URL keygen_yocto-2.0.0-py3-none-any.whl
Size 87.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d3ec04fd487f6b2ecf77d03a4bde05525d8ea08bde9bb980ea07600f3650e6c
BLAKE2b-256 checksum
How to use checksums
e5e66c84a229403aad3d01a12d77628cf60154046297083afbb17789841615a6
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for keygen-yocto 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page