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

Show secrets in wallet #22

Open
5 tasks
gak opened this issue Mar 23, 2021 · 0 comments
Open
5 tasks

Show secrets in wallet #22

gak opened this issue Mar 23, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gak
Copy link
Collaborator

gak commented Mar 23, 2021

Right now there's no way of seeing a wallet's phrase or private key via the CLI. The private key is visible via the wallet file, but not the phrase--it uses an Entropy rather than saving the words.

It would be good to have a command, e.g.:

> feeless wallet secret --id

The output would vary depending on the wallet type:

> feeless wallet secret --id xxx # phrase, must match language and word count (1)
west false peanut clarify ready argue stereo pen provide minor shop village behind south day syrup scale abandon arch cook borrow celery tomato disorder

> feeless wallet secret --id xxx # seed
A2DFF190C1310862D6B0997C7FEECE19279A2EF257B2C7E0859167AA2C87F599

> feeless wallet secret --id xxx # private
61E0E1DEFB3FEDC673C58B3CE904B28B93566CA864FD57D566ED12E3C8F4A15A

1 As part of this change, the word count might need to be added?

  • wallet secret command accepting id argument
  • phrase
    • ensure the correct word count is shown
  • seed
  • private
@gak gak added enhancement New feature or request good first issue Good for newcomers labels Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant