Skip to main content

magpipe 0.3.2 copy "magpipe: ^0.3.2" to clipboard
magpipe: ^0.3.2 copied to clipboard

Magpie Bridge pipe transport: shared-socket UDP connections (hub), packet framing for bridge/direct links, and the enigma secret box (HKDF-SHA256 + AES-256-GCM).

0.3.2 #

  • MagHub: getDirectPipe / getBridgePipe / sendPacket, plus keepAlive(now) - heartbeats idle links and re-connects dead ones (app-driven schedule, no timers inside the hub).
  • Default processPacket: answers "COPY" to data packets and "PONG" to heartbeats.
  • MagPipeDelegate: receives every packet forwarded through the pipes; plug it via PipeFactory.pipeDelegate - read at dispatch time, so setting/clearing it affects all pipes at once.
  • PipeFactory: now a concrete class with default createXxx implementations - apps without custom pipes just register an instance via sharedPipeExtensions.pipeFactory; custom factories extend it (was implements).
  • Example: ChatPipe forwards to the base processPacket so data packets are answered "COPY" (docs/client.md §4.2).

0.3.1 #

  • HkdfEnc: encryption context of the encrypted handshake - info/aad follow pre-agreed formulas derived from the bid (never transmitted).
  • HkdfCipher / HkdfSha256: pluggable HKDF-SHA256 + AES-256-GCM.
  • Enigma.encryptSecret / decryptSecret reworked around HkdfEnc.

0.3.0 #

  • Initial release, split out of the Magpie Bridge Dart SDK (sdk-dart) as an independent package.
  • Wire format: packet interfaces, MessagePacket, bridge/direct packets, reliable (signed) packets and packet factories.
0
likes
0
points
776
downloads

Publisher

unverified uploader

Weekly Downloads

Magpie Bridge pipe transport: shared-socket UDP connections (hub), packet framing for bridge/direct links, and the enigma secret box (HKDF-SHA256 + AES-256-GCM).

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

magpie_bridge, pointycastle

More

Packages that depend on magpipe