npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@absolutejs/key-transparency

v0.2.0

Published

Provider-neutral key transparency contracts, local rollback protection, provider selection, and conformance tools for AbsoluteJS.

Downloads

868

Readme

@absolutejs/key-transparency

Provider-neutral key-transparency contracts, local rollback protection, provider selection, and conformance tools for AbsoluteJS.

This is an early 0.x foundation. It does not implement the IETF KEYTRANS cryptography and it does not turn an ordinary key directory into a transparency log. Providers must verify the protocol's proofs and signatures before returning results through these contracts.

Why this is separate from E2EE

MLS protects conversation content, but its Authentication Service binds identities to device signature keys. A compromised or malicious Authentication Service can issue a valid credential for a ghost device. Key transparency makes those key bindings append-only, searchable, monitorable, and capable of exposing inconsistent views.

Keeping @absolutejs/key-transparency separate from @absolutejs/e2ee prevents the encryption provider or identity authority from silently acting as its own independent verifier.

Provider boundary

Providers live in key-transparency-providers and follow the package pattern @absolutejs/key-transparency-<provider>. A provider owns draft-specific proof parsing and cryptographic verification. This package additionally enforces:

  • an exact protocol revision rather than a floating “KEYTRANS compatible” claim;
  • operation, label, value, provider, and tree-head binding for evidence;
  • monotonically increasing locally persisted tree views;
  • compare-and-set persistence so concurrent clients cannot overwrite newer views;
  • explicit contact monitoring, owner monitoring, auditor, privacy, and assurance capabilities;
  • independent audit evidence before an audited claim is accepted.

Applications pass opaque, application-derived label bytes. Raw email addresses, phone numbers, usernames, and other enumerable identifiers should not cross this boundary.

import {
  createKeyTransparencyClient,
  createMemoryKeyTransparencyViewStore,
  selectKeyTransparencyProvider,
} from "@absolutejs/key-transparency";

const provider = selectKeyTransparencyProvider(providers, {
  minimumAssurance: "reviewed",
  protocolRevision: "draft-ietf-keytrans-protocol-05",
  requireContactMonitoring: true,
  requireOwnerMonitoring: true,
  requireSplitViewDetection: true,
  roles: ["client", "monitor"],
  runtime: "browser",
});

const client = createKeyTransparencyClient({
  provider,
  store: createMemoryKeyTransparencyViewStore(),
});

The memory view store is for tests and short-lived demos. Production clients need durable, rollback-resistant storage.

Version-bound certification

Provider manifests are claims; certification reports are evidence tied to one exact provider version, protocol revision, runtime, completion time, scenario set, and evidence digest. Production admission should require fresh conformance and adversarial claims. Official vectors, cross-implementation behavior, and an independent audit are separate claims and cannot be declared without their corresponding evidence.

Standards status

The package currently pins draft-ietf-keytrans-protocol-05 and draft-ietf-keytrans-architecture-09. Internet-Drafts are works in progress and can change. Providers must publish a new 0.x version when changing protocol revision; the selector never silently treats revisions as equivalent.

Public TypeScript contracts use type aliases rather than interfaces.

License

Apache-2.0