#21: enhance webmail with rich-text editor, DOMPurify sanitizer, attachments, sieve builder, and vacation responder
This commit is contained in:
1 parent
b57854107e
commit
56a176d1f0
7 files changed
+677
-260
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user