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

Interactive password prompt #33

Open
rkrug opened this issue Jan 25, 2017 · 5 comments
Open

Interactive password prompt #33

rkrug opened this issue Jan 25, 2017 · 5 comments
Labels
🎁 feature request Not existing yet and need to be implemented 🙏 help wanted I can't do this alone and need contributors 📦 manager: mpm mpm

Comments

@rkrug
Copy link

rkrug commented Jan 25, 2017

Hi

two comments concerning the upgrade of cask:

  1. Some casks require a password. at the moment, when I do
mpm -m cask upgrade

I only get the password prompt and no information which cask needs the password. This is a little bit unnerving and insecure. Would it be possible to print, even in the standard verbosity level, the cask which is processed, to be able to see which one needs a password?

  1. I might be wrong, but I have the impression that the password prompt stalls the upgrade via bitbar - could this be fixed by e.g. skipping the ones which require a password or popping up a password dialog?

In general - a little bit more verbosity while upgrading from the command line would be quite useful.

@kdeldycke
Copy link
Owner

That one might be hard to tackle, unless you know of a magic multi-platform Python module to pop-up a dialog to ask for a password. 😟 And this has to be generic enough to work both in GUI and console... 😩

@kdeldycke
Copy link
Owner

BTW, there's already a hack for gem to support sudo but it is extremely brittle. See: https://github.com/kdeldycke/meta-package-manager/blob/v2.4.0/meta_package_manager/managers/gem.py#L154-L161

@kdeldycke kdeldycke changed the title upgrade cask - some require password Interactive password prompt Jul 30, 2020
@kdeldycke kdeldycke added 🎁 feature request Not existing yet and need to be implemented 🆘 help wanted 📦 manager: mpm mpm labels Dec 20, 2020
@kdeldycke kdeldycke added 🙏 help wanted I can't do this alone and need contributors and removed ℹ️ help wanted labels Apr 12, 2022
@kdeldycke
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎁 feature request Not existing yet and need to be implemented 🙏 help wanted I can't do this alone and need contributors 📦 manager: mpm mpm
Projects
None yet
Development

No branches or pull requests

2 participants