From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41803 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLIl4-0007Aw-LO for qemu-devel@nongnu.org; Wed, 24 Nov 2010 12:03:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLIl3-0001RZ-Gq for qemu-devel@nongnu.org; Wed, 24 Nov 2010 12:03:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLIl3-0001Qx-A0 for qemu-devel@nongnu.org; Wed, 24 Nov 2010 12:03:49 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAOH3lWL003656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 24 Nov 2010 12:03:48 -0500 From: Gerd Hoffmann Date: Wed, 24 Nov 2010 18:03:42 +0100 Message-Id: <1290618225-28879-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] vnc/spice: add monitor commands to change+expire passwords. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann 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. 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(-)