Closed gregdhill closed 5 years ago
@gregdhill Thanks for the patch.
I think testnet makes more sense as its own backend. It's also probably better to make a separate copy of the wallet, so as not to complicate the main code. I will do it later today.
Also thanks for the entropy calculation, it's a good idea indeed!
@gregdhill Uploaded testnet version: https://tsbw.io/test/
Can you test it please? I have no coins.
Sure, seems to be working: https://testnet.blockchain.info/address/moHgEvii55mhXg2NfhgEWrcjcYqG3FwnF2
Site no longer longer defaults to https however: http://tsbw.io/
HTTP is an outdated version, added redirect to HTTPS instead.
Testnet Compatibility & Better Password Enforcement
The API wrappers have been updated to support URI changes, primarily for switching the mode. Due to issues with weak passwords in brain wallets it is better to enforce stronger tokens. This is implemented by way of Shannon's Entropy to score the probability distribution of chars and threshold at a reasonable level.