Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add migrate command #26

Open
majecty opened this issue Oct 30, 2018 · 1 comment
Open

Add migrate command #26

majecty opened this issue Oct 30, 2018 · 1 comment

Comments

@majecty
Copy link
Contributor

majecty commented Oct 30, 2018

The new version of KeyStore has changed serialization format.
We should support users could migrate the old formatted file to a new formatted file easily.

@majecty
Copy link
Contributor Author

majecty commented Oct 30, 2018

There was an issue about this.
We need all passphrases in the old formatted file to migrate it.

I thinks that we could get each passphrase using interactive way.
Like this.

# A line starts with $ means shell command
# A line starts with > means cckey's output
# A line starts with < means user's input

$ cckey migrate old_formatted_file --keys-path new_file
> Start migration
> migrating 0x000000000001 address
> Please write your passphrase
< "my passphrase1"

> migratiing 0x000000000002 address
> Please write your passphrase
< "my passphrase2"

> migration complete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant