chimney
This commit is contained in:
parent
27092bdd7f
commit
289eaf9cf5
|
@ -44,6 +44,7 @@ function init() {
|
||||||
|
|
||||||
function getPrivateKeys(cb) {
|
function getPrivateKeys(cb) {
|
||||||
console.log('Generating Account Keypair');
|
console.log('Generating Account Keypair');
|
||||||
|
console.log("(Note: if you're using forge and not ursa, this will take a long time");
|
||||||
LeCore.leCrypto.generateRsaKeypair(2048, 65537, function (err, pems) {
|
LeCore.leCrypto.generateRsaKeypair(2048, 65537, function (err, pems) {
|
||||||
|
|
||||||
accountPrivateKeyPem = pems.privateKeyPem;
|
accountPrivateKeyPem = pems.privateKeyPem;
|
||||||
|
|
|
@ -23,8 +23,6 @@ module.exports.create = function (deps) {
|
||||||
, newCertUrl: options.newCertUrl
|
, newCertUrl: options.newCertUrl
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('state');
|
|
||||||
console.log(state);
|
|
||||||
if (!options.newAuthzUrl) {
|
if (!options.newAuthzUrl) {
|
||||||
return handleErr(new Error("options.newAuthzUrl must be the authorization url"));
|
return handleErr(new Error("options.newAuthzUrl must be the authorization url"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue