Repository navigation
Concepts
Short definitions of the terms libtea uses. The TEA specification is the
authority; libtea-rs is pinned to commit
962a0228af1bfcc1232ac3f79239317ff33fdb04 (OpenAPI 1.0.0, still beta).
See compatibility.md.
TEA (Transparency Exchange API). A CycloneDX API through which a publisher serves SBOMs, VEX, attestations and other artifacts for products and their releases.
TEI (Transparency Exchange Identifier). A URI such as
tei://example.com/uuid/<id>. Its domain says where to start:
https://<domain>/.well-known/tea names the API, and /discovery maps
the TEI to product releases. The legacy urn:tei: form is rejected.
Product, product release, component, component release. The objects a TEA server describes. A product release lists the component releases it is made of.
Collection. A versioned list of artifacts for a release. A new collection version means the publisher changed what it serves.
Artifact and format. An artifact (for example an SBOM) can be offered in several formats (media types), each with a URL and declared checksums.
What a checksum proves. libtea checks the decoded bytes against the
checksums the server declares. That proves you got what the server
described, not who published it. Only download --signature-key checks a
signature, and only under public keys you supply. A SHA-1-only match exits
4 unless you pass --allow-weak-checksums.
Lock file. libtea sync records the collection and the checksums it
saw (lock-file.md). sync --check compares the
server with the lock and exits 7 when they differ; diff compares two
locks offline. A lock is not signed.
CLE (Common Lifecycle Enumeration, ECMA-428). Lifecycle events such as
end of support or end of life. libtea cle --version says which events
apply to a version, comparing as SemVer or, with --scheme pypi, as PEP 440.
A range it cannot compare is reported as "not evaluated", never as "does not apply".
PURL and vers. Package URLs (pkg:npm/left-pad@1.3.0) identify
packages; vers: strings express version ranges. discover --purl looks a
package up on a known API base.
Cache and offline mode. Off by default and Experimental. --cache-dir
keeps responses and revalidates them; --offline answers only from the
cache (cache.md).
This wiki is a guide. The repository docs are versioned with the code and are authoritative. libtea-rs is independent and not affiliated with CycloneDX or Ecma.