Enterprise License Management with Quantum-Enhanced Security
Project description
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
- Bootstrap - Generate RSA-4096 keys and bootstrap license for API
- Build API - Nuitka compilation in Docker (Linux-compatible binaries)
- Deploy API - Push to Azure Container Apps
- Generate Licenses - Create SDK/CLI licenses via running API
- Build SDK/CLI - Nuitka with embedded licenses and public keys
- 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Ü.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantumlock-2.1.1-py3-none-any.whl.
File metadata
- Download URL: quantumlock-2.1.1-py3-none-any.whl
- Upload date:
- Size: 303.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
897db8cc0d3dd0eb1dd5e33aceb91a941fc293f783b4a770d9577b39471abe9e
|
|
| MD5 |
54f42e777a95f99821fb6d4050baf87f
|
|
| BLAKE2b-256 |
bb2e1c356d6e2d117d39202213aa55661a7303c6eae96497f0b6f8fbf3e23419
|