Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename option of debug witness plugin, fix #399 #443

Merged
merged 1 commit into from
Oct 28, 2017

Conversation

abitmore
Copy link
Member

This will get around #399.

@pmconrad
Copy link
Contributor

Thinking about it - the --private-key option is a security risk. CLI options of running programs are visible to all users on the machine.
Perhaps with should remove to CLI option from both plugins and leave only the config file option?

@abitmore
Copy link
Member Author

@pmconrad your suggestion makes sense, but perhaps better discuss it in a new ticket. At this moment we need the CLI parameter due to #149, and we need a usable release. This PR doesn't introduce additional risk.

@oxarbitrage oxarbitrage self-requested a review October 28, 2017 10:54
Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see no problem with this and after checking it out for a while i see no better option to go over #399 . i think we should merge to develop and close the issue with it.

@pmconrad
Copy link
Contributor

Good. Thanks @abitmore !

@pmconrad pmconrad merged commit da65bd3 into develop Oct 28, 2017
@wackou
Copy link
Contributor

wackou commented Oct 29, 2017

Thinking about it - the --private-key option is a security risk. CLI options of running programs are visible to all users on the machine.
Perhaps with should remove to CLI option from both plugins and leave only the config file option?

Please don't, I agree with the assessment that it's a security risk, but it'd be better to document it this way (if not obvious already that, being a private key, you should be extra-careful where you use it), or even print a warning when used. I am using constantly (for automated deploys, etc. and pass all the options via the commandline) and it would be a pain for me to deal without it. Some other reasons that I think do not warrant removing it:

  • having it in the config.ini doesn't really make it that more secure, you could argue that there's some unix user protection, but I'd counter argue that anyone having access to your machine, where gcc is most likely installed, can easily find a local privilege escalation, get root, and get to your file.
  • it being a signing key, it is less critical to lose access to it than, say, your owner or active key

Thanks for reconsidering.

@abitmore abitmore deleted the fix-399-debug-plugin-options branch December 12, 2017 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants