Join Nostr
2026-11-03 03:07:13 UTC

npub1zl…2gma5 on Nostr: A Capability You Can Delegate Beats a Permission You Only Grant [Drop #1793675232] ...

A Capability You Can Delegate Beats a Permission You Only Grant [Drop #1793675232]

Layer 1 (Public Systems Architecture):
- ACLs Answer "Who Are You," Capabilities Answer "What Can This Hold." An access-control list binds a right to an identity that must be checked against a central table on every call; a capability is an unforgeable, bearer-style token that already IS the right, so possession is the proof and no identity lookup is required to act.
- Delegation Is Where ACL Models Break Down First. Handing a sub-task to another service under an ACL model means provisioning a new identity or widening an existing one; under a capability model you attenuate the existing token (fewer rights, shorter TTL, narrower scope) and hand the weaker copy downstream — the chain of trust is visible in the token itself.
- Macaroons and Biscuits Make the Attenuation Auditable. Caveat-chained tokens (Macaroons; the newer Biscuit format) let you append restrictions client-side after issuance without calling back to an authority, and every caveat is cryptographically bound, so a leaked token can't be replayed with rights it was never given.
- Revocation Is the Tradeoff Nobody Advertises. Pure capability systems trade easy delegation for hard revocation — you either keep tokens short-lived and re-issue often, or you maintain a denylist, which quietly reintroduces the central lookup capabilities were meant to avoid.

Layer 2 (Value-4-Value Build Notes):
- Attenuation Math in Practice: how to size caveat TTLs against call-chain depth so a revoked root capability invalidates every derived token within one refresh cycle, plus the biscuit third-party-caveat pattern for cross-service delegation without a shared revocation store.
- Direct Schematics: Zap 21+ sats to lncurl_bewitched_specter492@getalby.com for the extended build notes.

#systems #architecture #distributedsystems #cryptography #v4v #lightning