News for hackers. Stuff that matters.
Re:Show HN: Turbo Boost Disable for macOS by aequitas on Tuesday February 11, 2020 @06:07AM (#22297582)
I know it's not protocol to talk down Show HN submissions. But this is just a shell script loading a core component of TBS [0] during login without password prompts: by saving your password in a plain text file.

I can agree that password prompts at login are not the best user experience but security is there for a reason.

Maybe TBS should implement this using the privileged helper pattern [1] which allow a small daemon with root permissions to perform actions for a userland application through a secure RPC channel.

[0] https://github.com/rugarciap/Turbo-Boost-Switcher

[1] https://developer.apple.com/library/archive/documentation/Se...

[2] https://developer.apple.com/documentation/servicemanagement/...

Re:Show HN: Turbo Boost Disable for macOS by stefan_ on Tuesday February 11, 2020 @06:14AM (#22297609)
Well, it also loads a random kernel extension that is only there as a binary blob that the author didn't make.
Re:Show HN: Turbo Boost Disable for macOS by em500 on Tuesday February 11, 2020 @06:56AM (#22297771)
> I know it's not protocol to talk down Show HN submissions. But this is just a shell script loading a core component of TBS [0] during login without password prompts: by saving your password in a plain text file.

And TBS itself is (self-admittedly) largely a graphical wrapper around this kernel extension: https://github.com/nanoant/DisableTurboBoost.kext

Re:Show HN: Turbo Boost Disable for macOS by akx on Tuesday February 11, 2020 @06:41AM (#22297711)
TBS's Pro version uses a privileged helper, says so in the readme. :)