Kryphocron: private posting, working end to end

I designed a way to make private* posts on atproto. They use a separate NSID and are stored in users’ own repos, encoded as friction, not encryption. The point is that records never sit in plaintext. That won’t stop someone determined, but it does stop most people who pull a user’s repo with a tool. On top of that, the appview only serves those posts to the audience the author picked.

I built this as kryphocron (“hidden record”), a Rust library any atproto software can use. It covers the private record types, audiences and access checks, and the codec. The goal was a full set of surfaces where private posts work in practice, even though they aren’t encrypted or truly hidden.

Since then I’ve built kryphocron into a Rust appview, a Rust PDS, and a client, all of which I’m testing now. The client can also write these records for people whose accounts live on other PDSes, as long as the appview lists them as community members.

Honestly, it’s really exciting to see everything I dreamed up last year working today.

*Private with an asterisk because they’re still visible in repos, just encoded.

1 Like