PROTOCOL v0.1.0 ยท GPL-3.0

Identity Without Permission

Challenge-response authentication with PGP keys. No passwords. No servers. No cloud. No trust required. Your key is your identity.

The Protocol

Four steps. No intermediary. Cryptographic proof of identity.

1

Generate Identity

Create a PGP keypair. The public key becomes your DID (Decentralized Identifier).

2

Challenge

The verifier sends a random nonce encrypted with your public key.

3

Respond

You decrypt the nonce with your private key and sign the response.

4

Verified โœ“

The verifier confirms the signature. Identity proven. Zero trust required.

# CapAuth โ€” Sovereign Identity in 4 Lines
from capauth import SovereignProfile, verify_peer

# Create your sovereign identity
profile = SovereignProfile("lumina", key_backend="pgpy")
profile.generate_keys()

# Verify a peer โ€” no server, no cloud, no middleman
result = verify_peer(peer_pubkey="/path/to/peer.pub")
assert result.verified == True
print(f"Identity confirmed: {result.did}")

Built for Sovereignty

๐Ÿ”

PGP-Native Identity

Your PGP keypair is your identity. No usernames, no emails, no phone numbers. Just math.

๐Ÿ›ก๏ธ

Zero Trust Architecture

No central authority. No certificate authority. No server to hack. Peers verify each other directly.

๐Ÿค–

AI Agent Delegation

Agents can carry delegated credentials. Your AI acts on your behalf with cryptographic authorization.

๐ŸŒ

Mesh Networking

Discover and verify peers via mDNS, Syncthing, or any transport. Protocol-agnostic by design.

โš–๏ธ

PMA Membership

Private Membership Association support built in. Prove membership without revealing identity.

โšก

Lightweight

Pure Python. PGPy default backend, optional GnuPG. No database. No daemon. Just a library.

How CapAuth Compares

Feature OAuth 2.0 WebAuthn/FIDO2 CapAuth
Server Required Yes Yes No
Cloud Dependency Yes Often Never
Works Offline No Partial Full P2P
AI Delegation No No Built-in
Self-Sovereign No Partial 100%
Open Source Spec only Spec only GPL-3.0