mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
use rsaExtractPublicKey for getting public key
This commit is contained in:
@@ -146,7 +146,7 @@ export class CryptoService implements CryptoServiceAbstraction {
|
||||
return null;
|
||||
}
|
||||
|
||||
this.publicKey = null; // TODO:
|
||||
this.publicKey = await this.cryptoFunctionService.rsaExtractPublicKey(privateKey);
|
||||
return this.publicKey;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user