- current code does not clear history, when using the clear button, this is added
- remove an unused variable
clear history when using clear button in RPC console #1767
pull Diapolo wants to merge 1 commits into bitcoin:master from Diapolo:RPCCon_clear_history changing 1 files +3 −2-
Diapolo commented at 7:45 AM on August 31, 2012: none
-
laanwj commented at 7:53 AM on September 1, 2012: member
I'm not entirely sure about clearing history. When clearing screen in a terminal (ctrl-L), the history is not cleared.
Then again I suppose clearing history in this case can help a bit with privacy, so it may be wise to do so.
-
laanwj commented at 9:12 AM on September 1, 2012: member
BTW the CONSOLE_SCROLLBACK is there to remind that there is currently no scrollback limit. If you use the console very long without clearing, you can theoretically exhaust resources. Maybe this can be solved using
QTextDocument::setMaximumBlockCount(but I somehow remember there was a counter-intuitive relation between the number of text document blocks and messages). -
Diapolo commented at 12:16 PM on September 1, 2012: none
I found it annoying to not be able to clear the history, but in the end it is your decission :). I could add a comment in ToDo to remind there is currently no scrollback limit?
-
af7b88f29f
clear history when using clear button in RPC console
- current code does not clear history, when using the clear button, this is added - remove a currently unused variable but add a TODO comment
-
BitcoinPullTester commented at 5:16 PM on September 5, 2012: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/af7b88f29fba5d1db109a03dd6e5282fd9da825d for binaries and test log.
-
gmaxwell commented at 5:19 PM on September 5, 2012: contributor
A little bit of a layering violation; but one possibility here would be to replace private keys and passphrases in the history with /SECRET OMITTED/ or hashmarks or whatever.
-
Diapolo commented at 8:05 PM on September 5, 2012: none
@gmaxwell I really had no privacy concern at first when opening this, I was just annoyed that the Up-/Down-Key history could not be deleted ^^. I'm not sure about your idea, it is for sure some work and I also would like to be able to still do copy and paste (when not using the clear button).
-
Diapolo commented at 11:05 AM on September 8, 2012: none
I'm not sure if I understand that discussion in the light of my small pull ;). When giving bitcoind commands they appear in the shell history, too, no?
-
laanwj commented at 11:25 AM on September 8, 2012: member
I'm not sure if I understand that discussion in the light of my small pull
It'd be even better if the user would not have to think about manually clearing the history after handling secrets. That doesn't exclude being able to manually clear it, of course.
When giving bitcoind commands they appear in the shell history, too, no?
Yes, but how is that an argument for being just as insecure?
-
Diapolo commented at 7:23 AM on September 11, 2012: none
If this one is of no interest just close it. But perhaps we can merge it for RC3 otherwise?
-
laanwj commented at 7:36 AM on September 11, 2012: member
I'm fine with merging this but it will be after 0.7.0 final.
- laanwj referenced this in commit 0c42ee8130 on Nov 16, 2012
- laanwj merged this on Nov 16, 2012
- laanwj closed this on Nov 16, 2012
- laudney referenced this in commit 98a689ab2b on Mar 19, 2014
- svost referenced this in commit ce035e7bc7 on Dec 3, 2016
- svost referenced this in commit 1b05f26482 on Dec 3, 2016
- underdarkskies referenced this in commit 599a771bcf on Jul 3, 2018
- underdarkskies referenced this in commit 9648c47e6a on Jul 6, 2018
- underdarkskies referenced this in commit 5fe2283289 on Jul 6, 2018
- underdarkskies referenced this in commit a387f968cf on Jul 6, 2018
- underdarkskies referenced this in commit 1715ece29b on Jul 7, 2018
- underdarkskies referenced this in commit b9622224ee on Jul 7, 2018
- underdarkskies referenced this in commit 7d36d40e1c on Jul 7, 2018
- underdarkskies referenced this in commit 4cecaa019c on Jul 10, 2018
- DrahtBot locked this on Sep 8, 2021