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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user