1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 62cc43fb46aecef078f3f5278502593b6abaf127
Subproject commit 0a0cdaa7fdfb7322c73258b270105c8fb6552b99

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> {