Add tty password input (#2503)

* Add tty password input

* Move password from core/service to core/cli

* Fix test build error

* Password should be entered only once if it's for decoding

* Update Cargo.lock from rebuild
This commit is contained in:
郭光华
2019-05-16 00:11:59 +08:00
committed by Gavin Wood
parent c4e3970d9f
commit b399ea0b31
7 changed files with 31 additions and 2 deletions
+1
View File
@@ -33,6 +33,7 @@ substrate-telemetry = { path = "../../core/telemetry" }
keyring = { package = "substrate-keyring", path = "../keyring" }
names = "0.11.0"
structopt = "0.2"
rpassword = "3.0"
[dev-dependencies]
tempdir = "0.3"