]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/missing.h
ask-password: add support for caching passwords in the kernel keyring 1484/head
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Oct 2015 09:26:10 +0000 (11:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Oct 2015 10:26:14 +0000 (12:26 +0200)
commite287086b8aa2558356af225a12d9bfea8e7d61ca
tree934632ad37a839938f519a800a29c7541741a1b4
parent0084360296429b2068c1a4d4d4263083a8963b02
ask-password: add support for caching passwords in the kernel keyring

This adds support for caching harddisk passwords in the kernel keyring
if it is available, thus supporting caching without Plymouth being
around.

This is also useful for hooking up "gdm-auto-login" with the collected
boot-time harddisk password, in order to support gnome keyring
passphrase unlocking via the HDD password, if it is the same.

Any passwords added to the kernel keyring this way have a timeout of
2.5min at which time they are purged from the kernel.
16 files changed:
configure.ac
man/systemd-ask-password.xml
src/ask-password/ask-password.c
src/basic/missing.h
src/basic/strv.c
src/basic/strv.h
src/core/execute.c
src/core/main.c
src/cryptsetup/cryptsetup.c
src/firstboot/firstboot.c
src/modules-load/modules-load.c
src/shared/ask-password-api.c
src/shared/ask-password-api.h
src/shared/path-lookup.c
src/test/test-strv.c
src/tty-ask-password-agent/tty-ask-password-agent.c