mirror of
https://github.com/bitwarden/browser
synced 2026-02-09 13:10:17 +00:00
Fix cli build
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user