mirror of
https://github.com/bitwarden/cli
synced 2025-12-12 14:23:32 +00:00
Update jslib (#288)
* Update jslib * Convert NodeSecureStorage CipherArrayBuffer to string
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 62cc43fb46...0a0cdaa7fd
@@ -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> {
|
||||||
|
|||||||
Reference in New Issue
Block a user