Comments (4)
Polkawallet encrypted and stored users‘ mnemonic locally with the password. To encrypt, we use a dart package which requires a 32 digits length hex string as a private key. Now we convert the password string to a 32 hex string like this: https://github.com/polkawallet-io/sdk/blob/d43e7d5ad98ac88c8f3e77d8e246f5d9ba1c9ccd/lib/utils/index.dart#L6.
That means, if the password string length is more than 15, the tail will be dropped for encrypting. password A 000000000000000
(15 digits), password B 000000000000000b
(16 digits), password C 000000000000000cde
(18 digits) will be converted to a same private key of password A.
We may update the code and fix this issue in the future, but for now, a password more than 15 digits will not bring you more safety than a 15 digits one.
from app.
But I think we can increase the input limit, how many do you think is suitable for common users? 24 may be better?
from app.
I asked the user who originally asked (Guy works in security and kind of just wants to be able to haha) thinks 28 to 32 should be enough.
If you can make this work that'd be amazing. 🤗
from app.
I asked the user who originally asked (Guy works in security and kind of just wants to be able to haha) thinks 28 to 32 should be enough.
If you can make this work that'd be amazing. 🤗
we will make it 32.
from app.
Related Issues (20)
- Release-3.3.8
- remove chainx
- replace xcm api with bridge api
- Release-3.3.9
- Release-3.4.0
- rebuild cross-chain staking page data render
- Add receiving network warning for Acala/Karura token transfer.
- DOT won't unstake HOT 2
- add new module support: Referenda for Kusama HOT 1
- Unable to Unbond Dot on polkawallet app HOT 3
- Release-3.4.1
- Release-3.4.2
- Release-3.4.3
- evm 发版 bug 记录
- evm 相关功能发布
- The method 'signPayload' isn't defined for the type 'ApiWalletConnect'.
- Polkadot and Kusama nominator controller accounts are being deprecated HOT 2
- Argument, Method not found like WCPairedData, signPayload, approvePairing, rejectPairing
- Release-3.4.4
- Release-3.4.6
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 app.