Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Signature verification

Fix VerificationError — runtime manifest or artifact hash mismatches and license claim failures (iss / aud / exp / ver) — including trusted key overrides.

Telys is fail-closed: a verified install runs native-only and refuses a runtime it can't trust. Verification has two independent parts — the release signature over the runtime (manifest + artifact hashes) and the offline license (a signed JWT with claims). telys runtime verify runs both. A failure surfaces as a VerificationError or a license claim error; this page maps each to its cause and fix.

Quick check

telys runtime verify    # runs signature + license verification, prints what failed

The telys.verify API checks pieces yourself: verify_manifest, verify_artifact, and verify_license. It requires the cryptography package (a hard dependency of the SDK).

Errors and fixes

VerificationError — manifest signature invalid

The signed manifest describes the runtime; its signature is checked with the embedded release public key (RS256, PKCS1v15 + SHA-256).

Cause: telys_manifest.json or its telys_manifest.sig is corrupt, truncated, or was produced with a different signing key.

Fix: re-install so the manifest and signature are fetched fresh together, then verify.

telys runtime install       # or: telys runtime install --file ./bundle --license ./license.jwt
telys runtime verify

If you deliberately run a runtime signed by your own release key, point Telys at that key — see "Trusted key overrides" below.

VerificationError — artifact hash mismatch

Each artifact (for example libty_runtime, libame_kernel) is verified against the SHA-256 recorded in the signed manifest, using a constant-time comparison.

Cause: an artifact on disk was modified, partially downloaded, or replaced — its hash no longer matches the manifest.

Fix: re-install to restore the exact signed artifacts. Never patch a binary in place.

telys runtime install
telys runtime verify        # expect a clean pass
License rejected — iss / aud / exp / ver

The offline license check is strict: it pins alg to RS256, rejects unknown critical headers, and validates the issuer, audience, version, and expiry (with a small grace window), then reads the products.telys tier and features.

Cause and fix, by claim:

  • iss (issuer) — the issuer isn't the expected one. Default: https://license.algenta.ai. For a custom issuer, set $TELYS_LICENSE_ISSUER.

  • aud (audience) — the audience isn't accepted. Default: telys-runtime,algenta-runtime; override with $TELYS_LICENSE_AUDIENCE (comma-separated).

  • ver (version) — only license version 2 is supported. Any other is rejected; obtain a current license via telys login.

  • exp (expiry) — the token aged past its expiry plus grace. Sign in again to re-issue, and check your system clock.

telys login             # refreshes the license to a current, ver:2 token
telys runtime verify
Trusted key overrides (custom release or license keys)

The wheel ships embedded PEM keys: telys/_keys/telys_release_pub.pem (runtime signature) and telys/_keys/telys_license_pub.pem (license). Override them for an enterprise or self-signed pipeline.

Cause: you sign runtimes or licenses with your own keys and need Telys to trust them.

Fix: point Telys at your public keys and expected claims via environment variables.

You can also verify programmatically with pinned keys:

Override keys only when you control the signing pipeline; otherwise leave the embedded keys in place.

Next steps

If verification points at the license itself rather than the runtime signature, fix it at the sign-in / plan layer.

Next: License & login issues

Last updated

Was this helpful?