Comments (4)
@fuxingloh: Thanks for opening an issue, it is currently awaiting triage.
The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.
Details
I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.
from jellyfishsdk.
@fuxingloh Not very certain about the requirement, this is allow user store an the encrypted mnemonic during first time create
or import
? The encrypted is protected with a "simpler" (than the ori mnemonic seed) user selected passphrase?
interface EncryptionOptions {
passphrase: string // caller known passphrase
encryptedSetter: () => void // caller provide storage
encryptedGetter: () => string
}
static fromSeed (seed: Buffer, options: Bip32Options, encOpt?: EncryptionOptions): MnemonicHdNodeProvider { /* add encryption process here */ }
static from (encrypted: string, passphrase): MnemonicHdNodeProvider // allow user to unlock wallet with simple passphrase within a device with encrypted mnemonic stored
from jellyfishsdk.
- Generate mnemonic seed for cold storage
- Generated mnemonic seed must be the actual seed used for signing transaction
- Mnemonic seed stored at rest is dangerous
- Encrypt mnemonic seed while it's at rest
- When the user wants to perform a transaction, decrypt encrypted mnemonic seed
So yeah, the encryption protects the original mnemonic seed at rest. It is only loaded into memory when it's required for a brief period.
from jellyfishsdk.
There is also some flow/complications to this, as the wallet should only encrypt private key. The pubKey should be accessible at rest.
from jellyfishsdk.
Related Issues (20)
- Remove use of deprecated methods in `packages/testing` HOT 3
- Bump to node 18, `.nvmrc`, `Dockerfile` HOT 4
- Remove deprecated `ocean-api-client/src/RawTx` HOT 3
- `GlobalPrefix` should be wildcard and not be static HOT 4
- `jellyfish-block` to support creating, signing and submitting a block from scratch
- Add `WhaleApiContainer` to `packages/testcontainers` HOT 1
- Deprecate the old design within `packages/jellyfish-address`
- `apps/*` docker builds failing
- Tests fail to run due to Haste module map on ain CI HOT 2
- burn address returned by stats endpoint does not return a wallet HOT 2
- Add whale-api version to /stats/ HOT 2
- add listgovs to whale-api HOT 2
- support running test on defid locally HOT 2
- How to fix whale-api with an invalid block HOT 2
- Specify the format of data in Burndata HOT 2
- Please add rewardaddress to ocean API ../masternodes/<masternode_id> HOT 2
- seems some history missing? HOT 2
- whale-api not working with Node 4.0.9 HOT 2
- what is the P2WPKH_WITNESS_EXAMPLE meaning?needs/bridge HOT 2
- Send TransferDomainTx is err: code -26 msg TransferDomainTx HOT 2
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 jellyfishsdk.