#21: enhance webmail with rich-text editor, DOMPurify sanitizer, attachments, sieve builder, and vacation responder

This commit is contained in:
Lucas Rayan committed 2026-08-02 10:37:03 -03:00
1 parent b57854107e
commit 56a176d1f0
7 files changed
+677 -260

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ describe("crypto module", () => {
});
it("encrypts and decrypts secrets using AES-256-GCM", () => {
process.env.LAMBDAMAIL_MASTER_KEY = "test-master-key-32-chars-long!!";
const secret = "JBSWY3DPEHPK3PXP";
const encrypted = encryptSecret(secret);
const decrypted = decryptSecret(encrypted.encrypted, encrypted.nonce, encrypted.keyVersion);