]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/shared/ask-password-api.c
Add more password agent information
authorDavid Härdeman <david@hardeman.nu>
Tue, 25 Mar 2014 10:05:23 +0000 (11:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Apr 2014 07:23:54 +0000 (09:23 +0200)
commit9fa1de965a0954dcb6d855ebe0513077515a0daa
tree7c6c8133d726a7d379361c4541fe15cb20bd7342
parent0d522a7a0547982eae9ab1b5971e4bed9c2fbc7c
Add more password agent information

Add an (optional) "Id" key in the password agent .ask files. The Id is
supposed to be a simple string in "<subsystem>:<target>" form which
is used to provide more information on what the requested passphrase
is to be used for (which e.g. allows an agent to only react to cryptsetup
requests).

(v2: rebased, fixed indentation, escape name, use strappenda)
src/ask-password/ask-password.c
src/cryptsetup/cryptsetup.c
src/shared/ask-password-api.c
src/shared/ask-password-api.h