/!\ fix a security failure where a wallet was generated too early, that lead to the PRNG to be initialized with less entropy than it should.
If you used walletgenerator.net before with an old browser, please regenerate your wallets as they might be unsafe. If your browser is older than the date mentioned below, entropy provided by the OS is not available, and the PRNG was initialized with data collection from the browser, time and Math.random(), but NOT with the mouse input that is asked to the user, nor the OS provided entropy. firefox 21: may 2013 chrome 11: april 2011 ie 11: october 2013 opera 14: july 2013 safari 3.1: march 2008
This commit is contained in:
parent
5b3cae1f32
commit
07b64959ca
2 changed files with 11 additions and 7 deletions
|
@ -10264,10 +10264,13 @@ janin.currency = {
|
||||||
document.title = janin.currency.name() + "'s paper wallet generator";
|
document.title = janin.currency.name() + "'s paper wallet generator";
|
||||||
document.getElementById("siteTitle").alt = janin.currency.name() + " Paper Wallet Generator";
|
document.getElementById("siteTitle").alt = janin.currency.name() + " Paper Wallet Generator";
|
||||||
|
|
||||||
|
if(ninja.seeder.isDone())
|
||||||
|
{
|
||||||
// Regenerate a new wallet when not expensive
|
// Regenerate a new wallet when not expensive
|
||||||
ninja.wallets.singlewallet.generateNewAddressAndKey();
|
ninja.wallets.singlewallet.generateNewAddressAndKey();
|
||||||
ninja.wallets.paperwallet.build(document.getElementById('paperpassphrase').value);
|
ninja.wallets.paperwallet.build(document.getElementById('paperpassphrase').value);
|
||||||
ninja.wallets.brainwallet.view();
|
ninja.wallets.brainwallet.view();
|
||||||
|
}
|
||||||
|
|
||||||
// Reset wallet tab when expensive or not applicable
|
// Reset wallet tab when expensive or not applicable
|
||||||
document.getElementById("bulktextarea").value = "";
|
document.getElementById("bulktextarea").value = "";
|
||||||
|
@ -10292,7 +10295,6 @@ janin.currency = {
|
||||||
janin.doge.stop();
|
janin.doge.stop();
|
||||||
janin.doge = null;
|
janin.doge = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -42,11 +42,14 @@ janin.currency = {
|
||||||
// Update title depending on currency
|
// Update title depending on currency
|
||||||
document.title = janin.currency.name() + "'s paper wallet generator";
|
document.title = janin.currency.name() + "'s paper wallet generator";
|
||||||
document.getElementById("siteTitle").alt = janin.currency.name() + " Paper Wallet Generator";
|
document.getElementById("siteTitle").alt = janin.currency.name() + " Paper Wallet Generator";
|
||||||
|
|
||||||
// Regenerate a new wallet when not expensive
|
if(ninja.seeder.isDone())
|
||||||
ninja.wallets.singlewallet.generateNewAddressAndKey();
|
{
|
||||||
ninja.wallets.paperwallet.build(document.getElementById('paperpassphrase').value);
|
// Regenerate a new wallet when not expensive
|
||||||
ninja.wallets.brainwallet.view();
|
ninja.wallets.singlewallet.generateNewAddressAndKey();
|
||||||
|
ninja.wallets.paperwallet.build(document.getElementById('paperpassphrase').value);
|
||||||
|
ninja.wallets.brainwallet.view();
|
||||||
|
}
|
||||||
|
|
||||||
// Reset wallet tab when expensive or not applicable
|
// Reset wallet tab when expensive or not applicable
|
||||||
document.getElementById("bulktextarea").value = "";
|
document.getElementById("bulktextarea").value = "";
|
||||||
|
@ -71,7 +74,6 @@ janin.currency = {
|
||||||
janin.doge.stop();
|
janin.doge.stop();
|
||||||
janin.doge = null;
|
janin.doge = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue