]> git.ipfire.org Git - thirdparty/systemd.git/commit
ask-password: add option --no-output to not print password to stdout 2754/head
authorChristian Hesse <mail@eworm.de>
Mon, 29 Feb 2016 20:04:02 +0000 (21:04 +0100)
committerChristian Hesse <mail@eworm.de>
Tue, 1 Mar 2016 18:02:11 +0000 (19:02 +0100)
commita5a4e3658ddc0c9692057ce5288fa1bb6f53bacc
treeffd0eeaac43d8d383dc5ca509f838a9931a97ba8
parent114761866a5e9376277daf847663d23361ffe0c0
ask-password: add option --no-output to not print password to stdout

systemd-ask-password can store passwords in kernel keyring. However it
uses to print the passwords to standard output nevertheless. Depending
on where systemd-ask-password is called passwords may end on display
or in log, leaking sensitive information.
This allows to make systemd-ask-password quiet, effectively disabling
printing passwords to standard output.
man/systemd-ask-password.xml
src/ask-password/ask-password.c