itsgoin/crates/tauri-app
Scott Reimers 34c5b60686 feat(fof-layer1): Tauri commands + frontend UI for vouches
Node helpers (crates/core/src/node.rs):
- vouch_for_peer(target): derives target X25519 pub from NodeId,
  inserts into own_vouch_targets, republishes bio post so the new
  VouchGrantBatch propagates to the receiver via CDN.
- revoke_vouch_and_rotate(target): per Scott's design, revocation IS
  the rotation primitive. Marks target current=0, generates new V_me
  epoch in vouch_keys_own (prior retained, Layer 4 receiver-chain),
  republishes bio. Revoked persona retains old V_me → grandfathered
  access to old content; locked out of new content sealed under V_new.
- list_vouches_given / list_vouches_received: enriched with display
  names via resolve_display_name.

Tauri commands (crates/tauri-app/src/lib.rs):
- vouch_for_peer, revoke_vouch_for_peer (single-action commands)
- list_vouches_given, list_vouches_received (DTOs with camelCase)
- All registered in the generate_handler! list.

Frontend (frontend/index.html + app.js):
- New "Vouches" section in Settings tab with side-by-side Given /
  Received lists. Per-row Revoke button on Given entries with confirm
  prompt explaining the rotation semantics.
- Bio modal gains Vouch / Revoke Vouch button next to Follow/Unfollow.
  State derived from list_vouches_given on modal open.
- loadVouches wired into the settings-tab activation handler.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 06:47:18 -04:00
..
capabilities Design doc audit: update badges, fix outdated descriptions, add CDN/replication docs 2026-03-21 00:20:47 -04:00
gen Network-wide announcements signed by the bootstrap anchor posting id 2026-04-23 01:50:12 -04:00
icons ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
src feat(fof-layer1): Tauri commands + frontend UI for vouches 2026-05-13 06:47:18 -04:00
build.rs ItsGoin v0.3.2 — Decentralized social media network 2026-03-15 20:23:09 -04:00
Cargo.toml v0.6.2 release: version bump + changelog 2026-04-22 23:54:40 -04:00
tauri.conf.json v0.6.2 release: version bump + changelog 2026-04-22 23:54:40 -04:00