DEV Community

Discussion on: How I built a file-sharing tool where even I can't read your files (zero-knowledge architecture in Next.js)

Collapse
 
shail_patel_be2c56251ebf4 profile image
Shail Patel

Really like how you broke down the client-side encryption flow. The fact that the server never sees the keys is what makes this actually trustworthy, not just ‘encrypted’ in marketing terms.”

Collapse
 
axaysharma profile image
Akshay Sharma

Really appreciate that! That distinction was exactly what I was aiming for.

“Encrypted” gets thrown around a lot, but if the server can access the key, it’s ultimately still a trust-based system. I wanted BurnShot to be trust-minimized instead where even in a worst-case scenario (breach, subpoena, misconfiguration), the system design itself prevents access to user data.

Pushing key generation and encryption fully to the client, and keeping the key in the URL fragment, was the turning point for making that possible.

Glad that part stood out to you 🙌