mvdan / bitw

Minimalist BitWarden client
BSD 3-Clause "New" or "Revised" License
169 stars 15 forks source link

Support a graphical prompt #4

Open mvdan opened 5 years ago

mvdan commented 5 years ago

For example, the only way to supply a two-factor auth token is via the terminal. We should support graphical prompts. This is useful to make usage easier, and to allow starting the D-Bus service without hard-coding passwords anywhere.

I'm unsure how this could be done. Tools like zenity may not be installed. Depending on GTK or Qt would be overkill. Perhaps the simplest would be an askpass config option, similar to what git has.

mvdan commented 3 years ago

I still think that an askpass option is best, with a sane default. The sane default would be: