From acbb6c0d1e9e830456e080dd960cb3dc7056fb8c Mon Sep 17 00:00:00 2001 From: Luis Alberto Jaramillo Gonzalez Date: Mon, 22 Jan 2024 08:49:17 -0500 Subject: [PATCH] Change scape chars to include gpg-base-64 --- src/EncryptModal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EncryptModal.ts b/src/EncryptModal.ts index 968d068..49bb8ba 100644 --- a/src/EncryptModal.ts +++ b/src/EncryptModal.ts @@ -152,6 +152,6 @@ export class EncryptModal extends Modal { // Convert Buffer to text in Base64 with some scape characters to be identify in LivePreview private BufferToSecretBase64(bufferEncrypted: Buffer): string { // Return buffer converted in Base64 with some scape characters to be identify in LivePreview - return "`secret-base-64 " + bufferEncrypted.toString('base64') + "`"; + return "`gpg-base-64 " + bufferEncrypted.toString('base64') + "`"; } }