]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homed-manager.c
homework: Accept volume key from keyring
authorAdrian Vovk <adrianvovk@gmail.com>
Thu, 1 Feb 2024 16:43:48 +0000 (11:43 -0500)
committerLuca Boccassi <bluca@debian.org>
Sat, 23 Mar 2024 01:05:13 +0000 (01:05 +0000)
commit5ec87d577f92effe27a62e965e02a6f9a40f81cc
treed0984780f9c9358ad21eaac19c3c9a6a8527df49
parentd0eff7a12d44ac98371431d22c18ec4c50a283ba
homework: Accept volume key from keyring

This bypasses authentication (i.e. user_record_authenticate) if the
volume key was loaded from the keyring and no secret section is
provided.

This also changes Update() and Resize() to always try and load the
volume key from the keyring. This makes the secret section optional for
these methods while still letting them function (as long as the home
area is active)
man/org.freedesktop.home1.xml
src/home/homed-home-bus.c
src/home/homed-home.c
src/home/homed-home.h
src/home/homed-manager.c
src/home/homework.c
test/units/testsuite-46.sh