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
* add utility code for decoding legacy keystores from cardano-sl
Developed it as a standalone library, feel free to rip it apart the way
you like.
```
restore-keystore
├── index.spec.ts
├── index.ts
├── jest.config.ts
├── LICENSE
├── NOTICE
├── package.json
├── package-lock.json
└── __test__
└── secret.key
```
It's shipped with a default test keystore that I've been previously
using on input-output-hk/cardano-sl#4278 and a test suite which controls
that this new implementation yield the same results.
```console
> restore-keystore@1.0.0 test /home/ktorz/Documents/IOHK/restore-keystore
> jest
PASS ./index.spec.ts
walletId
✓ 0 (2 ms)
✓ 1
✓ 2 (1 ms)
✓ 3
encryptedPayload
✓ 0
✓ 1 (1 ms)
✓ 2
✓ 3
passphraseHash
✓ 0 (1 ms)
✓ 1
✓ 2
✓ 3
isEmptyPassphrase
✓ 0
✓ 1
✓ 2
✓ 3
Test Suites: 1 passed, 1 total
Tests: 16 passed, 16 total
Snapshots: 0 total
Time: 2.3 s, estimated 3 s
Ran all test suites.
```
The magic is yours now and should help resolving #1234.
* add 'executable' to restore and show a keystore at a given path
Can be used directly (after `npm install`) as an executable, e.g.:
```
$ ./restore-keystore.ts __test__/secret.key
[...]
```
```
$ ./restore-keystore.ts $HOME/.local/share/Daedalus/mainnet/Secrets/secret.key
[...]
```
* [DDW-563] Import TS
* [DDW-563] Integrate restore-keystore lib
* [DDW-563] Adds CHANGELOG, improves import
* [DDW-563] Improve import
* [DDW-563] Move restore-keystore.js into Release
* [DDW-563] Force add dist dir to GH
* [DDW-563] Remove unnecessary files
* [DDW-563] Styling fixes
* [DDW-563] Updates text copy
Co-authored-by: Nikola Glumac <niglumac@gmail.com>
- Displayed fee and deposit info in transaction details and in the delegation wizard ([PR 2339](https://github.com/input-output-hk/daedalus/pull/2339))
"wallet.import.file.dialog.description": "<p>This feature enables you to import wallets from the previous version of Daedalus, from the Daedalus state directory, or from a ‘secret.key’ file.</p> <p>It can be used to import wallets quickly without entering the wallet recovery phrase for each wallet, or to import wallets for which you have lost your wallet recovery phrase.</p> <p>After importing a wallet for which you have lost your wallet recovery phrase, please create a new wallet and transfer all funds from the old wallet to the new wallet. <strong>Keep the wallet recovery phrase for your new wallet secure.</strong></p>",
770
+
"wallet.import.file.dialog.description": "<p>This feature enables you to import wallets from ‘secret.key’ files of old versions of Daedalus (Daedalus version 0.15.1 and previous). Importing wallets from state directories of version Daedalus 1.0 onwards is currently not supported.</p> <p>It can be used to import wallets quickly without entering the wallet recovery phrase for each wallet, or to import wallets for which you have lost your wallet recovery phrase.</p> <p>After importing a wallet for which you have lost your wallet recovery phrase, please create a new wallet and transfer all funds from the old wallet to the new wallet. <strong>Keep the wallet recovery phrase for your new wallet secure.</strong></p>",
0 commit comments