buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.39k stars 89 forks source link

Asks password multiple times in succession to upgrade each cask #241

Open dialex opened 9 months ago

dialex commented 9 months ago

SCR-20231002-kftm

Yes, I had to input my password 7 times to upgrade one cask 😵

I run brew cu -facy each month. Today for the first time I noticed that brew cu is asking me for the device's password in quick succession. Before it would simply ask me once or twice, for specific casks, usually docker or java. But now it's asks that many times for a single cask. This makes the script unusable.

I'm using the company's laptop, could it that they changed some access policy?

ondrejfuhrer commented 8 months ago

Hey @dialex

Thank you for the question. It's actually quite hard to know what's causing that, I haven't personally experienced that. Could be because of computer policy, could be also related to how the casks are defined.

I'm not sure if there is actually anything we could do about it. We solely rely on brew reinstall --cask XYZ command to do the updates, so we can't really control much.