Mirror von https://github.com/quitesimpleorg/asteriskify.git synchronisiert 2024-06-14 10:06:03 +02:00
Masks console passphrase input with asterisks
Datei suchen
2023-04-24 16:22:33 +02:00
asteriskify.c Tidy up indentation 2023-04-24 16:22:33 +02:00
Makefile Initial commit 2022-11-07 10:06:13 +01:00
README.md Initial commit 2022-11-07 10:06:13 +01:00

asteriskify - Linux console password prompt with asterisks


asteriskify | cryptsetup luksOpen ...

Pipe it to anything that receives credentials over stdin, such as cryptsetup.

To switch between clear and asterisk mode, press TAB. To reveal only the last character, use CTRL + R.

Note: Expects ASCII or UTF-8 encoding for asterisk mode


Others may exist, but my quick research only found systemd-ask-password which is unsuitable for my use case (inside a my own minimal initramfs boot image).