<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: devbythom</title>
    <description>The latest articles on DEV Community by devbythom (@devbytho).</description>
    <link>https://dev.to/devbytho</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3637651%2Fb86b799a-8cc0-446d-8fa0-120860bb5761.png</url>
      <title>DEV Community: devbythom</title>
      <link>https://dev.to/devbytho</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/devbytho"/>
    <language>en</language>
    <item>
      <title>Eazypasswords a zero knowledge password manager</title>
      <dc:creator>devbythom</dc:creator>
      <pubDate>Sun, 30 Nov 2025 16:41:35 +0000</pubDate>
      <link>https://dev.to/devbytho/eazypasswords-a-zero-knowledge-password-manager-189o</link>
      <guid>https://dev.to/devbytho/eazypasswords-a-zero-knowledge-password-manager-189o</guid>
      <description>&lt;p&gt;hello everyone&lt;/p&gt;

&lt;p&gt;I’ve been tired of paying $60/year just to securely share Netflix and WiFi passwords with my family. I wanted to build a lightweight, secure alternative that runs entirely on the Edge and is only 5$ per year!&lt;/p&gt;

&lt;p&gt;Here is how I built EazyPasswords, a Zero-Knowledge vault that costs me almost nothing to run, thanks to the modern serverless stack.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Stack&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I wanted instant load times and zero cold starts, so I avoided traditional containers.&lt;br&gt;
Backend: Hono running on Cloudflare Workers.&lt;/p&gt;

&lt;p&gt;Database: Cloudflare D1 (SQLite at the Edge).&lt;/p&gt;

&lt;p&gt;Frontend: Vanilla JS (hosted on Cloudflare Pages).&lt;/p&gt;

&lt;p&gt;Crypto: Native Web Crypto API (window.crypto.subtle).&lt;/p&gt;

&lt;p&gt;The Architecture: True Zero-Knowledge&lt;/p&gt;

&lt;p&gt;The biggest challenge was ensuring I (the server admin) could never see the user's data.&lt;br&gt;
Here is the flow I implemented:&lt;br&gt;
Registration: The client generates a random Salt. The Master Password is hashed with PBKDF2 (100k iterations). We derive an AuthKey (sent to server) and a MasterKey (kept in memory).&lt;br&gt;
Encryption: Before any data leaves the browser, it is encrypted using AES-GCM (256-bit) with the MasterKey.&lt;br&gt;
Storage: The server receives a JSON payload of iv and ciphertext. D1 stores this blob. It has no idea what it contains.&lt;br&gt;
The "Visual Dead Drop" (QR Sharing)&lt;br&gt;
This is the feature I'm most proud of. I wanted to share passwords without sending the decryption key over the network (which is a common attack vector).&lt;br&gt;
I built a Visual Dead Drop system:&lt;br&gt;
Sender: Client generates a random, ephemeral AES key.&lt;br&gt;
Encrypt: The password blob is encrypted with this ephemeral key and uploaded to D1.&lt;br&gt;
The Trick: The ephemeral key is NOT sent to the server. Instead, it is encoded into a QR Code string displayed on the sender's screen.&lt;br&gt;
Receiver: Scans the QR code. Their device extracts the key from the image, fetches the blob from D1, and decrypts it locally.&lt;br&gt;
The server holds the lock, but the key exists only in the physical world (on the screen)&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fef5w6p5go755ir3ann49.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fef5w6p5go755ir3ann49.png" alt="Qr code image" width="800" height="403"&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Why Cloudflare D1?&lt;br&gt;
For a side project, cost is everything. D1 allows for millions of reads/writes for free. This architecture allows me to offer a Free Family Plan to users because my overhead is practically zero.&lt;/p&gt;

&lt;p&gt;I need your feedback (Beta)&lt;br&gt;
I am currently in Open Beta. Since I'm a backend engineer, my UI skills aren't perfect, but the crypto engine is solid.&lt;br&gt;
I’m looking for developers to stress-test the encryption speed and the QR code scanning across different devices.&lt;/p&gt;

&lt;p&gt;And if you have any questions about something you dont get feel free to ask&lt;br&gt;
You can try it here: &lt;a href="https://eazypasswords.com" rel="noopener noreferrer"&gt;Eazypasswords&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(If you sign up during the beta, you get the Family Plan for free forever as a thank you for testing).&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>security</category>
      <category>backend</category>
      <category>passwordmanager</category>
    </item>
  </channel>
</rss>
