-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Remove sshpass from denylist #15879
Comments
It looks like ThumbsUp voting is disabled on these, which makes it difficult to measure community sentiment. But the current mechanism to discourage use does impact a lot of folk. |
From #4198: "I think this is the best fit for now. You can create a sshpass formula in a tap and if it's widely used we may consider it being added into Homebrew/core." Is that usage number published, and has sshpass reached that criteria? |
Thanks for the issue @sprive!
You can see on https://formulae.brew.sh/analytics/install/365d/. Given that, unless other @Homebrew/maintainers object, I'm game to remove this blacklist and add it into Homebrew/homebrew-core with suitable |
This is fine with me, but I'd like to understand more what the security concerns regarding |
Thanks! Raising the security concerns I'm aware of, and presenting them as copy pasta, if this looks suitable..: Using SSHpass presents the risk of sensitive server credentials becoming stolen by other accounts or software running on your Mac. If these credentials are work related or sensitive, before using SSHpass please discuss this with your Compliance team. When possible, using staged SSH keys is always easier and more secure than SSHpass. Use FileVault to encrypt your disk: if your Mac is stolen, at least the contents are unreadable to others. With your SSH targets, avoid using identical credentials on multiple systems. If you use source control, Caveats:
Probably too lengthy for the command warning. Cheers. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
What now needs to happen for this proposed change to move forward? |
Someone needs to open the relevant PR. |
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
Use
fdesetup status
to confirm the Brew user has Filevault set toOn
. This will signify the user's scripts are protected at rest using OS level encryption. IfOff
, then blacklist sshpass. IfOn
, then issue a caution and a prompt to allow continuing.What is the motivation for the feature?
Embedded Linux devices do not allow you to install SSH keys (read-only filesystems are quite common). Yet you must still automate against these targets.
How will the feature be relevant to at least 90% of Homebrew users?
For the popular workaround, Brew users are being diverted to tap random Github repos.
This means non-novice users to have to vet what the repo is doing, but novice users are blindly pulling in unvetted repos..
What alternatives to the feature have been considered?
Linux
The text was updated successfully, but these errors were encountered: