mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Rename "encryptionAlgorithm" to "hashAlgorithmForEncryption" for clarity (#9891)
This commit is contained in:
@@ -27,7 +27,7 @@ import { DesktopSettingsService } from "../platform/services/desktop-settings.se
|
||||
import { NativeMessageHandlerService } from "./native-message-handler.service";
|
||||
|
||||
const MessageValidTimeout = 10 * 1000;
|
||||
const EncryptionAlgorithm = "sha1";
|
||||
const HashAlgorithmForAsymmetricEncryption = "sha1";
|
||||
|
||||
@Injectable()
|
||||
export class NativeMessagingService {
|
||||
@@ -227,7 +227,7 @@ export class NativeMessagingService {
|
||||
const encryptedSecret = await this.cryptoFunctionService.rsaEncrypt(
|
||||
secret,
|
||||
remotePublicKey,
|
||||
EncryptionAlgorithm,
|
||||
HashAlgorithmForAsymmetricEncryption,
|
||||
);
|
||||
ipc.platform.nativeMessaging.sendMessage({
|
||||
appId: appId,
|
||||
|
||||
Reference in New Issue
Block a user