Page MenuHomePhabricator

cli: add -stdinwalletpassphrase for (slightly more) secure CLI
ClosedPublic

Authored by PiRK on Oct 25 2020, 07:58.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC7f275f57df19: cli: add -stdinwalletpassphrase for (slightly more) secure CLI
Summary

This PR

  • adds -stdinwalletpassphrase for use with walletpasshprase(change)
  • adds no-echo for passwords (-stdinrpcpass and above)

This is a backport of Core PR13716 [2/3]
Commit: https://github.com/bitcoin/bitcoin/pull/13716/commits/7f11fba2e3c7b1e00ffb98504cdcfc2ded9c09cf
Depends D8106

Test Plan
src/bitcoin-cli -help
src/bitcoin-cli -stdinrpcpass getnetworkinfo
src/bitcoin-cli -stdinrpcpass -stdinwalletpassphrase walletpassphrase

Event Timeline

Owners added a reviewer: Restricted Owners Package.Oct 25 2020, 07:58
PiRK requested review of this revision.Oct 25 2020, 07:58
deadalnix requested changes to this revision.Oct 25 2020, 15:24
deadalnix added a subscriber: deadalnix.

Add a link to the commit.

This revision now requires changes to proceed.Oct 25 2020, 15:24
PiRK requested review of this revision.Oct 25 2020, 15:45
PiRK edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Oct 25 2020, 17:01