]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homed-manager.c
varlink: optionally, mark all incoming message's "parameters" field as sensitive
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Jan 2024 10:27:40 +0000 (11:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 16 Jan 2024 16:14:20 +0000 (17:14 +0100)
commita570877c12760def86fcf20b151685b6a736cdda
treefc0ab6c74fc1aef306deecf1cef464fe999b00d6
parent47420573a778e83f2bddd536cf185cd5829e8ba9
varlink: optionally, mark all incoming message's "parameters" field as sensitive

So far the varlink logic honoured the "sensitive" flag of output
messages. Let's add something similar for input messages. Since we don't
really know incoming messages, the flag simply controls whether the
"parmaeters" field of all incoming messages should be marked as
sensitive.

Then, turn this on in the credentials logic and in homed, since both
deal with credentials.
src/creds/creds.c
src/home/homed-manager.c
src/shared/varlink.c
src/shared/varlink.h