Input-from-stdin mode for bitcoin-cli #7442

issue laanwj opened this issue on January 29, 2016
  1. laanwj commented at 12:07 PM on January 29, 2016: member

    Some information passed to bitcoin-cli may be too sensitive to pass on the command line, as that can (usually) be seen by other users on the system in the ps output.

    The most straightforward solution for an alternative is to add an option to bitcoin-cli that takes the input (or part of the input, e.g. the passphrase argument to walletpassphrase) from stdin instead of the command line. In contrast to a fully-fledged interactive shell (which would also be nice to have, see #3122), this can also be useful in scripts.

    See #7122 (comment) for discussion.

  2. laanwj added the label RPC on Jan 29, 2016
  3. dcousens commented at 1:32 AM on January 30, 2016: contributor

    concept ACK :+1: , I already ended up using my own RPC module that accepts stdin for this purpose.

  4. jgarzik commented at 2:18 AM on January 30, 2016: contributor

    concept ACK

  5. luke-jr commented at 2:38 AM on January 30, 2016: member

    concept ACK

  6. paveljanik commented at 6:50 AM on January 30, 2016: contributor

    Would be great, concept ACK

  7. jonasschnelli commented at 7:57 AM on January 30, 2016: contributor

    Concept ACK.

  8. laanwj added the label Feature on Feb 17, 2016
  9. laanwj referenced this in commit c97198db76 on Feb 17, 2016
  10. laanwj referenced this in commit 1f73b8e27b on Feb 17, 2016
  11. laanwj referenced this in commit 92bcca37ab on Feb 24, 2016
  12. MarcoFalke commented at 1:51 PM on February 24, 2016: member

    @laanwj Looks like this is fixed. Anything left to do here other than #3122?

  13. laanwj closed this on Feb 24, 2016

  14. laanwj commented at 7:03 PM on February 24, 2016: member

    No, this is done, thanks for the reminder

  15. luke-jr referenced this in commit 1193a14ff9 on Feb 25, 2016
  16. instagibbs referenced this in commit 3dcefc8af1 on Feb 25, 2016
  17. GamerSg referenced this in commit e7e7b0354c on Feb 27, 2016
  18. sickpig referenced this in commit c45a8e0c4c on Mar 31, 2017
  19. lateminer referenced this in commit b8d0c5dacc on Jan 5, 2018
  20. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me