Wizard key structopts
Implements the following command using new structopts paramters style :
durs keys modify member --salt [salt] --password [password]
durs keys modify network --salt [salt] --password [password]
durs keys delete member # remove the member key
durs keys delete network # reset the network key to a new random one
durs keys show
durs keys wizard
Merge request reports
Activity
mentioned in merge request !83 (closed)
- Resolved by inso
- Resolved by inso
added 3 commits
- Resolved by inso
@Insoleet I detect a bug in
show
subcommand :I used the
wizard
command to create a member keypair for myself, it worked very well, my member keypair was well written in the file.
But theshow
command saysNo member key configured
. Can you reproduce this ?In addition, keep in mind that warning clippies will have to be fixed before they can be merged :)
Edited by Éloïs@Insoleet i find a bug in
show
command :./target/debug/durs keys show Network key : (BoZP6aqtErHjiKLosLrQxBafi4ATciyDZQ6XRQkNefqG, hidden) Member key : (BoZP6aqtErHjiKLosLrQxBafi4ATciyDZQ6XRQkNefqG, hidden)
My keypairs file content :
{ "network_sec": "(hidden for security reason)", "network_pub": "BoZP6aqtErHjiKLosLrQxBafi4ATciyDZQ6XRQkNefqG", "member_sec": "(hidden for security reason)", "member_pub": "D9D2zaJoWYWveii1JRYLVK3J4Z7ZH3QczoKrnQeiM6mx" }
So, at member key line we expected
D9D2zaJoWYWveii1JRYLVK3J4Z7ZH3QczoKrnQeiM6mx
instead ofBoZP6aqtErHjiKLosLrQxBafi4ATciyDZQ6XRQkNefqG
.Edited by Éloïsadded 18 commits
-
c4e1ff2e...ebd2022c - 5 commits from branch
dev
- b9f1e480 - Wizard Key with structopts
- 92ed5b2f - Run cargo fmt
- b75424bd - Fix error [E0658]
- 91347e18 - Fix usage of try! macro
- 4f0d4af5 - Modules description
- 747436fd - Add tests in module
- eee2f568 - Load member keypair on startup
- a420ec71 - Cargo fmt pass
- 61573416 - More rusty code
- dbed3207 - Fix clippy warnings
- 881c8133 - Fix loading of member key
- 7184c786 - Fix clippy warnings in keys.rs
- 915e2e90 - Fix latest clippy warning
Toggle commit list-
c4e1ff2e...ebd2022c - 5 commits from branch
added 15 commits
-
915e2e90...20b30dbe - 2 commits from branch
dev
- 69f9219d - Wizard Key with structopts
- 5a6c08f2 - Run cargo fmt
- 3958f8b3 - Fix error [E0658]
- f391b7f0 - Fix usage of try! macro
- d5ba2446 - Modules description
- 4104e5b5 - Add tests in module
- 71882ce7 - Load member keypair on startup
- 72c4c4dd - Cargo fmt pass
- 711c5019 - More rusty code
- b51260a0 - Fix clippy warnings
- bd7608e4 - Fix loading of member key
- e53822b7 - Fix clippy warnings in keys.rs
- 79307347 - Fix latest clippy warning
Toggle commit list-
915e2e90...20b30dbe - 2 commits from branch
Please register or sign in to reply