keybase.txt

Demo · format-valid de-facto

/.well-known/keybase.txt

Standard: Keybase

Proof-of-domain-ownership that links a website to a Keybase identity.

What it is

Keybase lets users prove they control a domain by publishing a signed file at /.well-known/keybase.txt. The file is a saltpack-signed message whose payload includes the Keybase username; anyone can verify the signature and the domain in one step.

The threat it addresses

Decentralized identity needs a way to bind real-world domains to cryptographic identities without a central authority. keybase.txt gives a public, verifiable binding — the signature proves who, the HTTPS host proves where.

How it works

  • Run `keybase prove domain` — Keybase signs a message containing your username and instructions.
  • Paste the signed block into /.well-known/keybase.txt on your domain.
  • Anyone (or the Keybase service) fetches the file, verifies the saltpack signature, and checks the username in the payload matches the claimed identity.

Honesty notes

  • Demo: no Keybase identity is claimed here. A real file contains a saltpack-signed block, which only the account holder can produce.

Try it

Live demo

Format demonstration — a real file contains a saltpack signature

Content-Type: text/plain; charset=utf-8
# keybase.txt — domain ownership proof for a Keybase identity
#
# A real keybase.txt contains a saltpack-signed message that proves the domain owner
# controls a Keybase account (see https://keybase.io/docs/keybase_well_known).
# To create one: run `keybase prove domain` and paste the signed block below the header.
#
# This file is a format demonstration only — no Keybase identity is claimed.
#
=====BEGIN KEYBASE SALTPACK SIGNED MESSAGE=====
(no signed payload is attached in this demo — see the explainer at /specs/keybase-txt)
=====END KEYBASE SALTPACK SIGNED MESSAGE=====