1
0
mirror of https://github.com/bitwarden/cli synced 2025-12-12 22:33:37 +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

2
jslib

Submodule jslib updated: 62cc43fb46...0a0cdaa7fd

View File

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