1
0
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:
Kyle Spearrin
2018-07-02 23:57:22 -04:00
parent 2bc7ae0da2
commit 269b59210c
2 changed files with 4 additions and 3 deletions

View File

@@ -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;
}