Skip to main content

Module invitation

Module invitation 

Source
Expand description

Private, expiring connection invitations. Length-delimited fields. No phrase-derived WG keys.

Structs§

Invitation

Enums§

InviteError

Constants§

MAGIC
MAX_DECODED
MAX_FIELDS
TAG_CRITICAL
TAG_EXPIRY
TAG_NONCE
TAG_PEER
TAG_POLICY
TAG_PROTO
TAG_RELAY
VERSION

Functions§

phrase_must_not_mint_wg_keys
Pairing secret is independent of WireGuard device keys.
sign_invitation
Sign the encoded body. Signature is appended (64 bytes).
verify_invitation
Verifies invitation integrity/expiry.