[libvirt] [PATCH v3 02/10] conf: Add new secret type "passphrase"

Ján Tomko jtomko at redhat.com
Sat Jun 25 05:12:46 UTC 2016


On Fri, Jun 24, 2016 at 04:53:31PM -0400, John Ferlan wrote:
>Add a new secret type known as "passphrase" - it will handle adding the
>secret objects that need a passphrase without a specific username.
>
>The format is:
>
>   <secret ...>
>     <uuid>...</uuid>
>     ...
>     <usage type='passphrase'>
>       <name>mumblyfratz</name>
>     </usage>
>   </secret>
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>---
> docs/aclpolkit.html.in                     |  4 +++
> docs/formatsecret.html.in                  | 57 ++++++++++++++++++++++++++++--
> docs/schemas/secret.rng                    | 10 ++++++
> include/libvirt/libvirt-secret.h           |  3 +-
> src/access/viraccessdriverpolkit.c         | 13 +++++++
> src/conf/secret_conf.c                     | 22 +++++++++++-
> src/conf/secret_conf.h                     |  1 +
> src/conf/virsecretobj.c                    |  5 +++
> tests/secretxml2xmlin/usage-passphrase.xml |  7 ++++
> tests/secretxml2xmltest.c                  |  1 +
> 10 files changed, 119 insertions(+), 4 deletions(-)
> create mode 100644 tests/secretxml2xmlin/usage-passphrase.xml
>

ACK

Jan




More information about the libvir-list mailing list