Skip to content

peer v0.5.0

Choose a tag to compare

@caoer caoer released this 08 Nov 17:37
· 7 commits to main since this release

peer v0.5.0 — GPL-3.0. Message encryption on top of the channel and a live reader feed.

  • peer e2e keygen | publish | revoke | decrypt and peer send --encrypt: a message sealed to the keys a party's card lists under details.readers, opened only by whoever holds a secret key — never a serving host. A reader page generates its own key in the browser and peer e2e publish, run where root.json is, folds it into the card.
  • peer feed setup | link | revoke | show: the party's reader feed on the worker config.json feed.url names (https://peer.0xtau.com), set up and linked on any machine of the party, no root act — the config is signed by the identity key under the root-signed card, and the source secret and the reader list live in the shared feed state record. peer feed link prints a reader link once; the page at https://peer.0xtau.com/ decrypts with crypto.subtle alone.
  • config.json forward: every record, in both directions, POSTed to the worker, which carries it to the party's Telegram topic.
  • The worker (worker/) now lives in this repository: the relay, the reader feed Object, the forward route, the reader page.
  • details.e2e on the card is details.readers; peer status lists the keys under READERS.

Install: go install github.com/caoer/peer/cmd/peer@v0.5.0 (Go 1.26 or later), or a binary below; check it against SHA256SUMS. Both report their version with peer version.

The binaries are reproducible: VERSION=v0.5.0 scripts/release-build.sh in a checkout of the tag (go1.27.3) builds the same bytes.

Protocol: https://page.sui.pics/a/peer-protocol-2ff24d5d4d58ff5b/doc.md