Skip to content

vnc/spice: add monitor commands to change+expire passwords.

Gerd Hoffmann qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vnc: auth reject cleanupui/vnc.c+13 -170 replies
2/3vnc: support password expireconsole.h qemu-common.h ui/vnc.c +1 more+19 -00 replies
3/3vnc/spice: add set_passwd monitor command.hmp-commands.hx monitor.c qmp-commands.hx +2 more+251 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] vnc/spice: add monitor commands to change+expire passwords.

Hi,

This patch series adds new monitor commands to set and expire the password:

set-password $protocol $secret
expire-password $protocol [ now | never | +secs | secs ]

The time when the password expires can be specified either relative (+60 == password expires in 60 seconds from now) or absolute in seconds since 1970 aka unix-epoch.

Check the patches and/or updated docs for details.

cheers,
Gerd

[ v2: remove tabs ]

Gerd Hoffmann (3):
vnc: auth reject cleanup
vnc: support password expire
vnc/spice: add set_passwd monitor command.

 console.h       |    1 +
 hmp-commands.hx |   54 +++++++++++++++++++++++++++++
 monitor.c       |  100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 qemu-common.h   |    3 ++
 qmp-commands.hx |   57 +++++++++++++++++++++++++++++++
 ui/qemu-spice.h |    5 +++
 ui/spice-core.c |   35 +++++++++++++++++++
 ui/vnc.c        |   44 +++++++++++++++---------
 ui/vnc.h        |    1 +
 9 files changed, 283 insertions(+), 17 deletions(-)