paolostivanin / OTPClient

Highly secure and easy to use OTP client written in C/GTK3 that supports both TOTP and HOTP
GNU General Public License v3.0
458 stars 47 forks source link

[Feature request] Add command-line argument to start OTPClient with a certain database #340

Closed zeitgenosse closed 4 months ago

zeitgenosse commented 5 months ago

I regularly switch between databases. Currently, I have to open OTPClient and enter the password to unlock database1. Then I have to click on “Change database”, select it from the file selection dialogue and enter the password to unlock database2. Same when I switch back to database1.

My proposal is to enable giving the database I want to use as a command-line argument, e.g.

otpclient --database="~/database2.enc"
paolostivanin commented 5 months ago

Fantastic idea, I'll for sure implement it!