Change scape chars to include gpg-base-64

This commit is contained in:
Luis Alberto Jaramillo Gonzalez 2024-01-22 08:49:17 -05:00
parent c557a07c64
commit acbb6c0d1e
No known key found for this signature in database
GPG key ID: 0444CB0073EDFBB5

View file

@ -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') + "`";
}
}