Masks console passphrase input with asterisks
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Albert S. 7323492836 Disable core dumps 4 months ago
Makefile Initial commit 4 months ago Initial commit 4 months ago
asteriskify.c Disable core dumps 4 months ago

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).