From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35825 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNpDb-0008SS-Kk for qemu-devel@nongnu.org; Wed, 01 Dec 2010 11:07:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNpDa-00057D-3q for qemu-devel@nongnu.org; Wed, 01 Dec 2010 11:07:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNpDZ-00056z-OE for qemu-devel@nongnu.org; Wed, 01 Dec 2010 11:07:42 -0500 Message-ID: <4CF672C8.8050500@redhat.com> Date: Wed, 01 Dec 2010 17:07:36 +0100 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH v2 0/3] vnc/spice: add monitor commands to change+expire passwords. References: <1291123379-3101-1-git-send-email-kraxel@redhat.com> <4CF65769.2080807@codemonkey.ws> In-Reply-To: <4CF65769.2080807@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org On 12/01/10 15:10, Anthony Liguori wrote: > On 11/30/2010 07:22 AM, Gerd Hoffmann wrote: >> 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. > > In the server TZ? No, GMT, i.e. what time(2) gives you. > Unless you have a strong desire to keep it, I would just drop the > absolute bit. Internally it uses absolute times, so I though it may provide that interface too as it is almost no extra effort and someone might find it useful ... cheers, Gerd