[PATCH v2 0/9] virsh: secret: Improve handling of secret value

Peter Krempa posted 9 patches 4 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1579881978.git.pkrempa@redhat.com
build-aux/syntax-check.mk      |   2 +-
docs/formatsecret.html.in      |  88 +++++++++++++--------
docs/manpages/virsh.rst        |  20 ++++-
tools/virsh-completer-secret.c |   3 +-
tools/virsh-secret.c           | 140 ++++++++++++++++++++++++---------
tools/virsh-util.c             |  11 +++
tools/virsh-util.h             |   5 ++
7 files changed, 195 insertions(+), 74 deletions(-)
[PATCH v2 0/9] virsh: secret: Improve handling of secret value
Posted by Peter Krempa 4 years, 2 months ago
Improve handling of secrets for security.

'secret-passwd' command was dropped in favor of '--interactive' and few
other changes requested at review.

Peter Krempa (9):
  virsh: Work around virSecretFree quirks
  virsh: secret: Refactor cleanup in cmdSecretSetValue
  virsh: secret: Refactor cleanup in cmdSecretGetValue
  virsh: secret: Add --plain flag for secret-get-value
  virsh: secret: Add --file 'filename' support for secret-set-value
  virsh: secret: Print warning that passing secret on command-line is
    insecure
  virsh: secret: Add --plain switch for secret-set-value
  tools: virsh: Add --interactive flag for secret-set-value command
  docs: secret: Unify and sanitize examples on how to set secret value

 build-aux/syntax-check.mk      |   2 +-
 docs/formatsecret.html.in      |  88 +++++++++++++--------
 docs/manpages/virsh.rst        |  20 ++++-
 tools/virsh-completer-secret.c |   3 +-
 tools/virsh-secret.c           | 140 ++++++++++++++++++++++++---------
 tools/virsh-util.c             |  11 +++
 tools/virsh-util.h             |   5 ++
 7 files changed, 195 insertions(+), 74 deletions(-)

-- 
2.24.1