1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 13:10:17 +00:00

Fix cli build

This commit is contained in:
Bernd Schoolmann
2025-04-24 12:34:35 +02:00
parent d331593f7b
commit d4b9f232c9

View File

@@ -61,7 +61,8 @@ export class NodeEnvSecureStorageService implements AbstractStorageService {
if (sessionKey == null) {
throw new Error("No session key available.");
}
const encValue = await this.encryptService.encryptToBytes(
// This should be migrated to not use buffer based encryption
const encValue = await this.encryptService.encryptFileData(
Utils.fromB64ToArray(plainValue),
sessionKey,
);