Blog · release
Latch 0.26.0
🪪 Kennel Card: keep another pup's card (#75), and a rebinding fix for hosted fetches. Migration 28.
- Paste a Kennel Card link and Latch keeps a copy. It fetches
manifest.json,manifest.sigand the photos, never the page'sindex.html, within a 60 s budget. The copy is rebuilt from a whitelist (bounded strings, no control or bidi characters, links through the same cleaner as your own, asset names checked). Photos are size-checked before they're decoded, then re-encoded with pixels only. Latch draws the copy with its own template underdefault-src 'none', at/kennel-card/read/<id>/. Refresh fetches it again; Forget deletes it. - Signatures are checked against the bytes fetched. The fingerprint shown comes from the did, never from what the manifest claims. The first signer is remembered: a card later signed by another Pup ID, or no longer signed, says so until you tap Trust the new Pup ID.
- 🔴 New egress. The Kennel Card module now reaches out, but only when you paste a link or tap Refresh: https only, every redirect re-checked. The footer says reaches out: kennelcard only while you keep a card. On the hosted beta it's live too, and private and local addresses are refused.
- 🔴 Fixed (hosted): DNS rebinding. Hosted fetches checked the addresses a name resolved to, then connected to whatever it resolved to the second time. A name could answer a public address first and a private one second. Both fetchers, calendar feeds and kennel cards, now also check the address they actually connected to, before any request is sent. Solo is unchanged.
- Fixed: the kennel host's first start. On a fresh volume, nginx could seed the publish folder
with its own stock pages, root-owned, so Latch couldn't write it. The mount is now
nocopy.