WasatchPhotonics / ENLIGHTEN

Open-source spectroscopy application for controlling and taking measurements from Wasatch Photonics spectrometers.

Home Page:https://wasatchphotonics.com/product-category/software/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add --password command-line arg (or environment variable)

mzieg opened this issue · comments

User request: would allow people to edit their own desktop shortcuts to automatically open ENLIGHTEN with the production password.

Obviously putting clear-text passwords on the command-line is insecure (they typically appear in process listings, especially on POSIX), yet this is also a very common mechanism with database clients and the like.

An alternative would be to check for an environment variable (export ENLIGHTEN_PASSWORD=foo).

I'm ambivalent on the mechanism, but agree it's a valid request.