<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Encryption on EmpireSec</title>
    <link>https://www.empiresec.co/tags/encryption/</link>
    <description>Recent content in Encryption on EmpireSec</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 03 Apr 2026 00:00:52 +0000</lastBuildDate>
    <atom:link href="https://www.empiresec.co/tags/encryption/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Why forwardemail is one of a kind</title>
      <link>https://www.empiresec.co/audits/forwardemail/</link>
      <pubDate>Fri, 03 Apr 2026 00:00:52 +0000</pubDate>
      <guid>https://www.empiresec.co/audits/forwardemail/</guid>
      <description>&lt;h1 id=&#34;why-forwardemail-is-one-of-a-kind&#34;&gt;Why forwardemail is one of a kind&lt;/h1&gt;&#xA;&lt;p&gt;here is exactly how it works in the 100% open-source codebase:&lt;/p&gt;&#xA;&lt;p&gt;The emails are encrypted with the SMTP password (the generated alias password). The SQLite database file is encrypted at rest using ChaCha20-Poly1305, and the encryption key is your password. The staff cannot access the mailbox contents.&lt;/p&gt;&#xA;&lt;p&gt;the code that enforces this:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;SQLite Encryption (PRAGMA cipher + key):&#xA;&lt;a href=&#34;https://github.com/forwardemail/forwardemail.net/blob/d087cd6816be680d38f74c63fe1f5630a8c4741b/helpers/setup-pragma.js#L30-L41&#34;&gt;https://github.com/forwardemail/forwardemail.net/blob/d087cd6816be680d38f74c63fe1f5630a8c4741b/helpers/setup-pragma.js#L30-L41&lt;/a&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Line 36 sets the cipher to ChaCha20-Poly1305&lt;/li&gt;&#xA;&lt;li&gt;Lines 37-41 set the PRAGMA key using your decrypted password&lt;/li&gt;&#xA;&lt;li&gt;Line 74 enables secure_delete=ON (overwrites deleted data with zeros)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;The encrypted SQLite driver (better-sqlite3-multiple-ciphers):&#xA;&lt;a href=&#34;https://github.com/forwardemail/forwardemail.net/blob/d087cd6816be680d38f74c63fe1f5630a8c4741b/helpers/get-database.js#L10&#34;&gt;https://github.com/forwardemail/forwardemail.net/blob/d087cd6816be680d38f74c63fe1f5630a8c4741b/helpers/get-database.js#L10&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
