Received: from [140.186.70.92] (port=43428 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNegj-0006TP-8m for qemu-devel@nongnu.org; Tue, 30 Nov 2010 23:53:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNQAi-0004ID-CN for qemu-devel@nongnu.org; Tue, 30 Nov 2010 08:23:13 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNQAi-0004GB-2s for qemu-devel@nongnu.org; Tue, 30 Nov 2010 08:23:04 -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 oAUDN3fI027825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 30 Nov 2010 08:23:03 -0500 From: Gerd Hoffmann Date: Tue, 30 Nov 2010 14:22:56 +0100 Message-Id: <1291123379-3101-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2 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 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(-)