etcher icon indicating copy to clipboard operation
etcher copied to clipboard

Ask for the password once (macOS)

Open zrzka opened this issue 6 years ago • 5 comments

Not sure if this is possible with the current architecture (didn't check the code). But it would be nice if we can ask for the password once. It asks for my password every single time I hit the Flash! button. It's not very friendly when I'd like to flash multiple cards. Some helper tool with elevated permissions (ask once) would be nice.

screenshot 2019-02-22 at 14 15 24

zrzka avatar Feb 22 '19 13:02 zrzka

IIRC when we discussed this a couple of years ago, it was considered better security practice to only keep the "password enabled" part running for as short a time as possible, and to forget the password afterwards? (to reduce the chance of possible exploits) But I might be misremembering or confusing it with something else... :confused:

On a related note, see #1819

lurch avatar Feb 22 '19 14:02 lurch

As of v1.5.112 on macOS Big Sur I was able to flash multiple SD cards without entering password again.

I'm not sure if there is a specific timeout set on this though.

@thundron @zvin are you able to provide any more info on how this works?

shawaj avatar Dec 14 '20 13:12 shawaj

It uses sudo @shawaj

zvin avatar Dec 14 '20 14:12 zvin

@zvin what I meant was, is there an amount of time for which it will not ask you again for your password after the first time?

shawaj avatar Dec 14 '20 14:12 shawaj

It would be nice to allow it just once.

grafst avatar Oct 18 '23 09:10 grafst