Skip to main content

passnote_lan 1.1.0 copy "passnote_lan: ^1.1.0" to clipboard
passnote_lan: ^1.1.0 copied to clipboard

Transports for Passnote: WebSocket (web-safe, with a reference relay) and mDNS LAN discovery (native).

Changelog #

1.1.0 #

  • WebSocketTransport accepts a frame only from a peer its own connection carries, and only a connection it dialed may announce further peers; an inbound connection introduces itself once. The reference relay drops envelopes whose sender is not the client's registered id.
  • LanTransport and WebSocketTransport listeners take maxInboundConnections (64), helloTimeout (10 s) and maxFrameBytes (4 MiB), and refuse node ids longer than 128 characters.
  • Requires passnote 1.1.0.

1.0.0 #

First release.

  • LanTransport (package:passnote_lan/discovery.dart, native only): zero-configuration peer discovery and sync over mDNS on the local network.
  • WebSocketTransport (web-safe): sync over explicit ws(s):// addresses, with inbound listening on native platforms and reconnection with exponential backoff.
  • WebSocketRelay (package:passnote_lan/relay.dart and bin/relay.dart): a self-hostable reference relay that routes ciphertext between peers that cannot reach each other directly. It never holds keys.
0
likes
0
points
238
downloads

Publisher

verified publishernodsoftware.net

Weekly Downloads

Transports for Passnote: WebSocket (web-safe, with a reference relay) and mDNS LAN discovery (native).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

mdns_dart, passnote, web

More

Packages that depend on passnote_lan