ladar / sedutil

Use sedutil for setting up and using self encrypting drives (SEDs) that comply with the TCG OPAL 2.00 standard. This includes the requisite pre-boot authentication image.
https://trustedcomputinggroup.org/work-groups/storage/
79 stars 23 forks source link

Disable visual feedback for the password prompt #20

Open xsmile opened 3 years ago

xsmile commented 3 years ago

Keeping it enabled reveals the length of the password being entered.

ladar commented 2 years ago

Hi @xsmile I can appreciate not wanting the asterisks to appear, especially if someone else can see your screen. But disabling them by default doesn't seem like a good idea. Entering long, random/complex passwords or passphrases without that feedback means it will be that much harder to use. And that much more frustrating.

Ideally you should be able to hide the asterisks, and/or reveal the characters typed using a special key combination. Ctrl+Alt+* seems like a good one for toggling the asterisks. In a perfect world we'd add text (ideally along the bottom of the screen), letting users know about the shortcut.

Alternatively Ctrl+Alt+! could toggle the plaintext. Does that sound like it would work? Can you submit a PR which does that instead?