1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-10 21:33:33 +00:00

Update jslib (#288)

* Update jslib

* Convert NodeSecureStorage CipherArrayBuffer to string
This commit is contained in:
Matt Gibson
2021-04-14 11:44:57 -05:00
committed by GitHub
parent 8288bef567
commit 475efc4262
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ export class NodeEnvSecureStorageService implements StorageService {
throw new Error('Value didn\'t encrypt.');
}
return Utils.fromBufferToB64(encValue);
return Utils.fromBufferToB64(encValue.buffer);
}
private async decrypt(encValue: string): Promise<string> {