FastATP

Attestation

A class in fastatp.authz.attestation (source).

Based on Lexicon.

A signed pointer to a WireGuard-reachable repo, bound to a context.

endpoint is a wg://[host]?pubkey=.. URI (the attestation reuses the DID-document WireGuardFirehose URI shape) so a single field carries the peer's static key — from which its overlay address, the /128 the doorman routes on, is derived — and its optional endpoint host. wg_public_key repeats the static key at top level for convenience and cross-checking.

Attributes

Methods

peer_info

peer_info() -> WireGuardPeerInfo

The attested peer's WireGuard identity (key + tunnel ip + host).

is_expired

is_expired(now: datetime | None = None) -> bool