Repository navigation
lanpair 1.1.0: Host, Device and QR pairing
HostandDevice: the high-level API. UDP transport, QR-code pairing, mDNS
discovery, keys in the OS key store, and peers and replay counters on disk, so a
device pairs once and keeps working across restarts and address changes.
They listen on all interfaces (other devices must reach them);bind=limits that
to one interface.PairingOffer/lanpair.pairing: one-time pairing offers (lanpair://pair?...) with
the host's keys, address and a 128-bit secret; one device per offer, 5 minutes, 5 tries;
the secret travels encrypted.offer.print_qr()withpip install "lanpair[qr]".- New extras:
qr, andallfor keyring, discovery and qr together. - Nodes keep their port across restarts, and say hello to their peers when they start
(after an mDNS lookup), so messages keep arriving when either side restarts or moves.
Install: pip install "lanpair[all]". Upgrading from 1.0.x needs no code changes.