From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49116 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJqPX-0002JG-II for qemu-devel@nongnu.org; Sat, 20 Nov 2010 11:35:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJqPV-0003Gf-VR for qemu-devel@nongnu.org; Sat, 20 Nov 2010 11:35:35 -0500 Received: from mail-vw0-f45.google.com ([209.85.212.45]:46028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJqPV-0003CC-SZ for qemu-devel@nongnu.org; Sat, 20 Nov 2010 11:35:33 -0500 Received: by mail-vw0-f45.google.com with SMTP id 5so2991784vws.4 for ; Sat, 20 Nov 2010 08:35:33 -0800 (PST) Message-ID: <4CE72F09.4030601@codemonkey.ws> Date: Fri, 19 Nov 2010 20:14:33 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/3] vnc: support password expire References: <1286450121-17153-1-git-send-email-kraxel@redhat.com> <1286450121-17153-3-git-send-email-kraxel@redhat.com> <4CAE2521.2070500@codemonkey.ws> <20101008100841.GB9279@redhat.com> <4CDABF56.8020804@codemonkey.ws> <4CDBD5E3.8080008@redhat.com> <4CE2E8F3.6030105@codemonkey.ws> <4CE3AD0F.5030407@redhat.com> In-Reply-To: <4CE3AD0F.5030407@redhat.com> 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: Gerd Hoffmann Cc: qemu-devel@nongnu.org On 11/17/2010 04:23 AM, Gerd Hoffmann wrote: >> But the later let's a management tool implement arbitrarily complex >> expiration policies. > > > Hmm, we could do this: > > set-password $protocol $secret > expire-password $protocol [ now | never | $seconds ] > > Comments? I would be happy with this. I don't mind a bit of policy creeping into qemu as long as we're exposing the underlying mechanisms. If it were me, I'd do: set-password $protocol $secret unset-password $protocol expire-password [never | $seconds] And I would implement expire-password in terms of unset-password. Regards, Anthony Liguori > cheers, > Gerd > >