Metadata-Version: 2.4
Name: algovoi-license
Version: 0.1.0
Summary: Shared offline licence gate for AlgoVoi commercial add-ons (Tier B). Two-line, fail-closed, Falcon-1024 verified, no phone-home.
Author-email: AlgoVoi <chopmob@gmail.com>
License: LicenseRef-AlgoVoi-Commercial-1.0
Keywords: algovoi,licence,license,offline,falcon,commercial
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# algovoi-license

The shared offline licence gate for AlgoVoi commercial add-ons (the Tier B protection default).

A licence-gated add-on becomes a two-line gate instead of a copied module with an embedded key to keep
in sync:

```python
from algovoi_license import require_license

require_license("algovoi-command-center-totp")   # call at load time; fail-closed
```

Verification is fully offline: the buyer's Falcon-1024-signed licence is checked against the embedded
issuer public key. It accepts the suite `bundle_license` (runs every component in the on-prem bundle) or
a per-package `oem_license` matching the name you pass. No network, no phone-home.

`rfc8785` and `pqcrypto` are soft imports: they ship with the licensed suite, so a gated add-on works
wherever it legitimately runs, and a lifted standalone install that lacks them fails closed.

Provide the licence via env `ALGOVOI_LICENSE_KEY` (the key string) or `ALGOVOI_LICENSE_FILE` (a path).

Commercial. Embeds only a public verification key. Not for redistribution.
