You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(seedutil): separate aezeed & encryption pwords
This modifies the seedutil tool so that it uses separate passwords for
the aezeed and for encrypting the private key in the keystore.
Previously, a single password was used for both, which is incompatible
with how xud uses them separately with a master password for decryption
and currently always using the default "aezeed" password for the aezeed
itself.
The encryption password, keystore path, and aezeed passwords are now
treated as optional flags.
This utility is used to derive an Ethereum keystore file from [aezeed](https://github.com/lightningnetwork/lnd/tree/master/aezeed) generated mnemonic seed.
3
4
4
5
## Build
6
+
5
7
`npm run compile:seedutil`
6
8
7
9
## Usage
10
+
8
11
It is recommended to use this tool on the command line ONLY for development purposes.
9
-
`seedutil [twenty four recovery words separated by space] [optional password] [optional keystore path]`
10
12
11
-
[Tests](/test/jest/SeedUtil.spec.ts)
13
+
`seedutil [-pass=encryption password] [-path=optional/keystore/path] [-aezeedpass=optional_seed_pass] <twenty four recovery words separated by spaces>`
14
+
15
+
By default the `keystore` folder will be created in the execution directory and the aezeed password will be `aezeed`.
0 commit comments