Skip to main content

QuantumLock

Enterprise License Management with Quantum-Enhanced Security

QuantumLock is a comprehensive software licensing solution that combines RSA-4096 cryptographic signatures with optional quantum-enhanced security features.

Features

  • 🔐 Cryptographic License Signing - RSA-4096 with SHA-256
  • ⚛️ Quantum-Enhanced Security - Optional quantum fingerprinting (Qiskit)
  • 🌐 REST API - SaaS license management platform
  • 💻 CLI Tool - Command-line license generation and validation
  • 🔄 Floating Licenses - Concurrent seat management with Redis
  • 📦 SDK - Embeddable validation library

Installation

# Core SDK only
pip install quantumlock

# With CLI tool
pip install "quantumlock[cli]"

# With API server
pip install "quantumlock[api]"

# Full installation
pip install "quantumlock[all]"

Quick Start

CLI

# Generate keys
quantumlock keys generate

# Create a license
quantumlock license create \
  --customer "Acme Corp" \
  --type enterprise \
  --valid-days 365 \
  --output license.json

# Validate a license
quantumlock license validate license.json

SDK

from quantumlock.sdk import LicenseValidator

validator = LicenseValidator.from_file("keys/license.pub")
result = validator.validate_file("license.json")

if result.is_valid:
    print(f"License valid for: {result.customer_name}")
else:
    print(f"Invalid: {result.error}")

API Server

# Using Docker
docker-compose up -d api

# Or directly
uvicorn quantumlock.api:create_app --factory --host 0.0.0.0 --port 8000

Architecture

quantumlock/
├── src/quantumlock/       # Main package
│   ├── core/              # Shared models, crypto, config
│   ├── api/               # REST API (FastAPI)
│   ├── cli/               # CLI tool (Typer)
│   ├── sdk/               # Embeddable SDK
│   └── server/            # Floating license server
├── lib/                   # Shared libraries
│   ├── authority.py       # RSA signing/validation
│   └── quantum_protocol.py # Quantum features
└── tests/                 # Test suite

Docker

# API server
docker build --target api -t quantumlock-api .

# CLI tool
docker build --target cli -t quantumlock-cli .

# License server
docker build --target server -t quantumlock-server .

Deployment

Unified Deployment Script

The project includes a master deployment script that handles everything from zero:

# Full deployment (API + SDK + CLI)
./scripts/deploy_all.sh

# Staging environment
./scripts/deploy_all.sh --env staging

# Preview without executing
./scripts/deploy_all.sh --dry-run

# Skip components
./scripts/deploy_all.sh --skip-api      # Only SDK/CLI
./scripts/deploy_all.sh --skip-sdk      # Only API + CLI
./scripts/deploy_all.sh --skip-cli      # Only API + SDK

Deployment Phases

  1. Bootstrap - Generate RSA-4096 keys and bootstrap license for API
  2. Build API - Nuitka compilation in Docker (Linux-compatible binaries)
  3. Deploy API - Push to Azure Container Apps
  4. Generate Licenses - Create SDK/CLI licenses via running API
  5. Build SDK/CLI - Nuitka with embedded licenses and public keys
  6. Deploy SDK/CLI - Push to Azure/Registry

Scripts

Script Purpose
scripts/deploy_all.sh Master script - does everything
scripts/build_docker.sh Nuitka build via Docker
scripts/build_nuitka.py Core Nuitka compilation
automation/3-deploy-protected-apis.sh Azure deployment (alternative)

License Protection

  • Binaries compiled with Nuitka have embedded license + public key
  • Bootstrap license for API uses self-signed key pair
  • SDK/CLI licenses generated via QuantumLock API (dogfooding)
  • RSA-4096 signatures prevent tampering

Environment Variables

Variable Default Description
QUANTUMLOCK_DATABASE_URL sqlite:///quantumlock.db Database connection
QUANTUMLOCK_SECRET_KEY (required) JWT signing key
QUANTUMLOCK_REDIS_URL redis://localhost:6379 Redis for server
QUANTUMLOCK_DEBUG false Enable debug mode

License

Proprietary Software - Copyright © 2025 SoftQuantus innovative OÜ

This software is proprietary and confidential. Use of this software is governed by the End User License Agreement (EULA) and Terms of Service.

Legal Documents

Document Link
EULA docs/legal/EULA.md
Terms of Service docs/legal/TERMS_OF_SERVICE.md
Privacy Policy docs/legal/PRIVACY_POLICY.md
License LICENSE

Company Information

SoftQuantus innovative OÜ

  • Registry Code: 17048927
  • VAT: EE102767458
  • Address: Veskiposti tn 2-1002, Tallinn, 10138, Estonia

Contact

Purpose Contact
Website https://softquantus.com
Portal https://portal.softquantus.com
Support support@softquantus.com
Legal legal@softquantus.com
Phone +33 628315815

QuantumLock™ is a trademark of SoftQuantus innovative OÜ.

Download files

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

Source Distribution

quantumlock-2.1.4.tar.gz (55.4 kB view details)

Uploaded Source

Built Distribution

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

quantumlock-2.1.4-py3-none-any.whl (194.3 kB view details)

Uploaded Python 3

File details

Details for the file quantumlock-2.1.4.tar.gz.

File metadata

  • Download URL: quantumlock-2.1.4.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for quantumlock-2.1.4.tar.gz
Algorithm Hash digest
SHA256 bfc53903a51d4c3c4157ee4c74474366a88f797d19c4f4eb8cb4ac3523f22a21
MD5 b1eb752922b296aba0564c29473673a5
BLAKE2b-256 a67b44c40c4e5054250799e0b1d28a242c2250037e2a90f634257597d4b15c25

See more details on using hashes here.

File details

Details for the file quantumlock-2.1.4-py3-none-any.whl.

File metadata

  • Download URL: quantumlock-2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 194.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for quantumlock-2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 70c8c8e1c97b10ffc09bab6cfa16a8105847909c21a55817e8f263afe172079e
MD5 7c637a83ff5cc89b245e09de004233b2
BLAKE2b-256 f69dec380a1c6a93ec1e1cf5b3f33c565ddf5a0ec75b60d038a1ff5a1c0e9ebe

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.4 This release

2 files

2.1.2

1 file

2.1.1

1 file

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