bamapps

The Bam toolkit, shown working: small pages that run the framework for real.

Status One demo is live: sign in with bam.js. More framework demos are on the way.

What it is

bamapps.net is where the Bam toolkit shows its work. Each demo is a page you can click through, running the same libraries the Three Headz apps use.

Demos here use made-up visitors that last one visit. Nothing you do is kept.

Sign in with bam.js

bam.js is the browser library for Bam's actor sign-in. It makes a key your browser keeps and can't hand over, and signs each call so the site can tell it came from you and wasn't changed on the way.

Try it

  1. Sign in with bam.js and make a signed callLive

    1. Open /demos/bam-js.
    2. Press each button in order: make a key, register, get a token, make a signed call.
    3. Press "Replay and tamper", then "Forget".

    You should see: The token's fingerprint matches your key, the signed call is verified, the replayed and the changed call are both refused with 401, and after Forget a call is refused.

  2. This page and its health checkLive

    1. Open bamapps.net.
    2. Open /healthz.

    You should see: This page loads, and /healthz answers with "healthy": true, with a passing "actor-demo" check.

  3. Device keysNot live yet

    1. Open /demos/device-keys.
    2. Create a key, sign a challenge, verify it, then delete the key.

    You should see: The signature verifies, and signing after the delete says the key is gone.

    Waiting on the device-keys demo module (bam.encryption#25 surface)