Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
Compute CID locally for community post integrity verification
Client now computes CID from canonical record BEFORE sending to appview: 1. Build canonical record with exact structure appview expects 2. Compute CID using computeCid (DAG-CBOR, CIDv1, SHA-256) 3. Send expectedCid to appview for verification 4. Store client's CID in stub record (source of truth) This enables integrity verification: if appview modifies content, the CID won't match what's stored in the user's PDS stub record. The stub record in the user's repo acts as a cryptographic commitment to the original content, preserving user control over their data.
Author Rudy Fraser Date (Jun 25, 2026, 6:37 PM UTC) Commit
Copy SHA
Parent 3fd256bd 3fd256bd6e12b8b20efda0380bc02a310d90d0d2