Comments (2)
It's almost done too :P
https://github.com/jaimehgb/RaiWebWallet/blob/master/js/custom.js#L1444
https://github.com/jaimehgb/RaiWebWallet/blob/master/wallet.php#L250
I was thinking on how to store its value, in a field near the wallet at the database or serialized with the wallet data. The problem with the first one is what happens if it fails to update the value in the database due to connection issues or whatever and the ciphered wallet with the new iteration number is stored successfully (they are independent functions, maybe putting them together will do the trick). And the problem with the second one is compatibility with old wallets, I should add a mechanism to distinguish between both formats and then decipher the packed data in one way or another (https://github.com/jaimehgb/RaiWebWallet/blob/master/Wallet.js#L1359).
from raiwebwallet.
If you're going the hard way you might want to consider argon2id instead of scrypt concerning side-channel attack resistance:
https://www.cryptolux.org/index.php/Argon2
https://tools.ietf.org/html/draft-irtf-cfrg-argon2-03#page-13
Otherwise customizable, read increased iterations should be sufficient for now.
from raiwebwallet.
Related Issues (20)
- Bounty wallet reset? HOT 4
- Multiple wallet identifiers from same wallet seed HOT 4
- Asking for contact information of jaimehgb HOT 1
- Local PoW option not saved between sessions HOT 1
- The wallet is throwing lots of 502 errors in the console HOT 1
- UI is confusing for new users. Suggest an onboarding tour plus more help text.
- Incomplete account address showing on smaller screens (UI responsiveness error) HOT 1
- Page refresh after login returns you to site root. HOT 10
- Missing semicolon? HOT 1
- composer.json (vendor files)
- Feature request: 2fa setting for accounts HOT 2
- Feature request: return transaction
- Transaction overview "from:" field shows own account HOT 1
- Wallet allows sending amounts to your own account
- Feature request: account address book
- Update the code. HOT 3
- [Feature request]
- Email validation to recover wallet with seed is incorrect
- Wallet reported false balance after sending and receiving at the same time. HOT 1
- Feature request: No signup/account mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raiwebwallet.