Repository navigation
PrusaLink 2.1.3: pairing at the printer by comparing a code.
Changed
- "I'm at the printer" now follows the firmware's PrusaPair1 pairing:
- The page and the printer agree on a key (P-256 ECDH), and both show the same six-digit code. The person compares them and presses Yes on the printer.
- The printer then sends its password encrypted to the page's key (ChaCha20-Poly1305), instead of sending it in plain HTTP.
- If the printer's answers don't fit together, the page stops with a security warning and shows no code.
- The page still keeps only the Digest hash, never the password.
- The old pairing API (
{"code"}and{"api_key"}) is gone; firmware without PrusaPair1 offers only the password. (#546)
- The page carries its own compact crypto: plain http has no
crypto.subtle. It is tested against node:crypto,@noble/*and the firmware's test vector. MINI pages are now up to 84 KB gzipped.
Files
prusalink-web-2.1.3.zip(attached by the release workflow): one page per printer and per MINI language, withmanifest.json.- Demo without a printer: https://prusa3d.github.io/Prusa-Link-Web/
The Buddy firmware takes it with python3 utils/prusalink_web.py update --version 2.1.3.