<?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: NueM8</title>
    <description>The latest articles on DEV Community by NueM8 (@kevinnuem8).</description>
    <link>https://dev.to/kevinnuem8</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4241593%2F1c858a38-d0a2-4b41-856e-fbc5e7288d3c.png</url>
      <title>DEV Community: NueM8</title>
      <link>https://dev.to/kevinnuem8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kevinnuem8"/>
    <language>en</language>
    <item>
      <title>ChronoLock: The Anti-SaaS Secret Link: Updated for version 1.2.0 (32 KB limit + file loading)</title>
      <dc:creator>NueM8</dc:creator>
      <pubDate>Thu, 12 Nov 2026 18:19:13 +0000</pubDate>
      <link>https://dev.to/kevinnuem8/chronolock-the-anti-saas-secret-link-12ij</link>
      <guid>https://dev.to/kevinnuem8/chronolock-the-anti-saas-secret-link-12ij</guid>
      <description>&lt;h1&gt;
  
  
  ChronoLock: The Anti-SaaS Secret Link
&lt;/h1&gt;

&lt;p&gt;Most “secure share” tools still touch your secret.&lt;br&gt;&lt;br&gt;
They encrypt on their servers, require accounts, log metadata, or retain the ability to decrypt later. ChronoLock does none of that.&lt;/p&gt;

&lt;p&gt;It encrypts in the browser. The server only ever sees ciphertext. There is no account and no telemetry. When the lifetime ends or the secret is revealed once (if you choose), it is gone.&lt;/p&gt;

&lt;p&gt;The full source is public: &lt;a href="https://github.com/Nuem8/ChronoLock" rel="noopener noreferrer"&gt;github.com/Nuem8/ChronoLock&lt;/a&gt; (GPL-3.0).&lt;/p&gt;

&lt;h3&gt;
  
  
  The core rule
&lt;/h3&gt;

&lt;p&gt;Everything sensitive happens in the browser using the Web Crypto API.&lt;br&gt;&lt;br&gt;
A random 32-byte key and 12-byte IV are generated locally. The secret is encrypted with AES-GCM before anything is uploaded. The server receives only the ciphertext plus a few flags (TTL, burn-after-read, whether it is locked to a public key).&lt;/p&gt;

&lt;p&gt;You can verify this in two ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open DevTools → Network while creating a secret. Only ciphertext leaves the browser.&lt;/li&gt;
&lt;li&gt;Read the source. The encryption path is in the web client; the server never sees key material.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Two ways to lock a secret
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Key in the link (default)&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The raw AES key is placed in the URL fragment (after &lt;code&gt;#&lt;/code&gt;). Browsers never send the fragment to the server. Anyone with the complete link can decrypt; a truncated link cannot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Locked to a recipient public key&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
You paste the recipient’s public key. The secret is encrypted so that only the matching private key can open it. The link itself contains no decryption material. The private key never leaves the recipient’s browser and is never sent to ChronoLock.&lt;/p&gt;

&lt;p&gt;If the private key is lost, the secret is unrecoverable. That is intentional.&lt;/p&gt;

&lt;h3&gt;
  
  
  What the server actually stores
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Ciphertext
&lt;/li&gt;
&lt;li&gt;Chosen lifetime (5 min / 1 h / 1 day / 7 days)
&lt;/li&gt;
&lt;li&gt;Whether to delete after one successful reveal
&lt;/li&gt;
&lt;li&gt;Whether the secret is locked to a public key
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Nothing else. No plaintext, no key, no user identifier, no visit log that identifies the secret.&lt;/p&gt;

&lt;p&gt;On reveal the browser downloads the ciphertext and decrypts it locally. If “Delete after one reveal” is enabled, the ciphertext is removed only after a successful decryption with the correct key. A wrong key does nothing. The row is also deleted when its lifetime ends.&lt;/p&gt;

&lt;p&gt;The server can run with an in-memory store (dies with the process) or SQLite (keeps unexpired ciphertext across restarts, still without the key).&lt;/p&gt;

&lt;h3&gt;
  
  
  Limits and deliberate constraints
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Maximum payload: &lt;strong&gt;32 KB&lt;/strong&gt; (enough for typical &lt;code&gt;.env&lt;/code&gt; files and small configuration blocks)&lt;/li&gt;
&lt;li&gt;You can load a local &lt;code&gt;.env&lt;/code&gt; or text file — it is read only in the browser. The original filename is preserved client-side so the recipient can save it with the same name.&lt;/li&gt;
&lt;li&gt;Encryption only works over HTTPS or localhost
&lt;/li&gt;
&lt;li&gt;No accounts, no key recovery, no admin override
&lt;/li&gt;
&lt;li&gt;Longest lifetime is 7 days by default
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are not missing features. They are the design.&lt;/p&gt;

&lt;h3&gt;
  
  
  Run it yourself
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
cargo run --release -- --listen 127.0.0.1:8787 --store sqlite --data chronolock.db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>showdev</category>
      <category>security</category>
      <category>privacy</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
