AbsoluteJS

@absolutejs/key-transparency-memory

@absolutejs/key-transparency-memoryv0.2.0betaMessaging

Development-only in-memory key transparency provider for AbsoluteJS.

#Installation

BASH
bun add @absolutejs/key-transparency-memory

#Capabilities

Overview

Development-only, process-local provider for @absolutejs/key-transparency.

It maintains an append-only log view, signs every tree head with an ephemeral Ed25519 key, requires host-supplied update authorization, clones all sensitive byte inputs, and rejects prior views it did not issue. It is useful for tests, examples, and provider-neutral conformance.

It is intentionally not an implementation of the IETF KEYTRANS draft. It has no durable history, combined tree, VRF, commitments, private remote queries, independent monitor, or third-party auditor. Its manifest therefore uses the distinct absolute-memory-key-transparency-v1 protocol and does not claim split-view detection.

Show 2 more

Never use this provider for production identities.

The package publishes a version-bound Bun certification report for its limited conformance and adversarial lifecycle. It deliberately claims no official IETF vectors, cross-implementation behavior, split-view drill, or independent audit.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/key-transparency-memory through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/key-transparency-memory version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/key-transparency-memory example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#@absolutejs/key-transparency-memory quick start

Partial snippet

# @absolutejs/key-transparency-memory

TS
import { createMemoryKeyTransparencyProvider } from "@absolutejs/key-transparency-memory";

const provider = await createMemoryKeyTransparencyProvider({
  logId: "local-development-log",
  verifyUpdateAuthorization: ({ authorization }) => authorization.length === 32,
});

#Public entry points

Supported entry points declared by this package manifest.

Package entry point declared in package.json.

@absolutejs/key-transparency-memory@absolutejs/key-transparency-memory/certification@absolutejs/key-transparency-memory/manifest@absolutejs/key-transparency-memory/manifest.json

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build src/index.ts src/certification.ts src/manifest.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/key-transparency --external @absolutejs/manifest --external @sinclair/typebox && tsc --project tsconfig.build.json && absolute-manifest emit
bun run check:packagebun run format && bun run typecheck && bun run test && bun run build && bun run verify-package
bun run formatprettier --write "./**/*.{ts,json,md}"
bun run testbun test tests/
bun run typechecktsc --noEmit

#API reference

Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.

3 symbols
MEMORY_KEY_TRANSPARENCY_PROTOCOLvaluePermalinkSource
TS
const MEMORY_KEY_TRANSPARENCY_PROTOCOL: "absolute-memory-key-transparency-v1";
Exported from @absolutejs/key-transparency-memory