mirror of
https://github.com/therootcompany/greenlock.js.git
synced 2025-03-06 08:40:41 +00:00
remove deprecated
This commit is contained in:
parent
b173d89a89
commit
fd18ecd777
@ -103,7 +103,7 @@ function getAccount(accountId, args, handlers) {
|
||||
return createAccount(args, handlers);
|
||||
}
|
||||
|
||||
return leCrypto.parseAccountPrivateKeyAsync(files.private_key).then(function (keypair) {
|
||||
return leCrypto.privateJwkToPemsAsync(files.private_key).then(function (keypair) {
|
||||
files.accountId = accountId; // preserve current account id
|
||||
files.publicKeySha256 = keypair.publicKeySha256;
|
||||
files.publicKeyMd5 = keypair.publicKeyMd5;
|
||||
|
Loading…
x
Reference in New Issue
Block a user