Received: from eggs.gnu.org ([208.118.235.92]:58365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDYW4-0002dO-Nk for qemu-devel@nongnu.org; Thu, 07 Mar 2013 05:57:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDYW3-0006tm-GT for qemu-devel@nongnu.org; Thu, 07 Mar 2013 05:57:40 -0500 Received: from [220.181.13.94] (port=48503 helo=m13-94.163.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDYW1-0006rn-9G for qemu-devel@nongnu.org; Thu, 07 Mar 2013 05:57:39 -0500 Date: Thu, 7 Mar 2013 18:57:19 +0800 (CST) From: yue-kvm In-Reply-To: <20130307095650.GB14483@stefanha-thinkpad.redhat.com> References: <6923f8cd.be08.13d439c9dd1.Coremail.kvmluck@163.com> <20130307095650.GB14483@stefanha-thinkpad.redhat.com> Content-Type: multipart/alternative; boundary="----=_Part_276852_5734515.1362653839292" MIME-Version: 1.0 Message-ID: <35a77cc4.1250f.13d447f7fbd.Coremail.kvmluck@163.com> Subject: Re: [Qemu-devel] qemu-img do not verify encrytption List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel ------=_Part_276852_5734515.1362653839292 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit hi stefan: [root@kvm ~]# qemu-img -V qemu-img version 0.12.1, Copyright (c) 2004-2008 Fabrice Bellard OS centos 6.3 thanks At 2013-03-07 17:56:50,"Stefan Hajnoczi" wrote: >On Thu, Mar 07, 2013 at 02:49:30PM +0800, yue-kvm wrote: >> i create qcow2 format image with -o encryption, and assign password. >> >> but when i qemu-img info encryt.qcow2 , it display encryt.qcow2 info no master what i input, even just hit enter. >> the 'Password Authentication ' of qemu-img may be invalid. > >Don't worry, your data is encrypted. The qemu-img info password check >is unnecessary because qcow2 metadata is unencrypted. > >I didn't get a password prompt from qemu-img info on an encrypted qcow2 >file using qemu.git/master. > >Which version of qemu-img are you using? Perhaps the unnecessary prompt >has been fixed in a later version. > >Stefan > ------=_Part_276852_5734515.1362653839292 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit
hi stefan:

[root@kvm ~]# qemu-img -V
qemu-img version 0.12.1, Copyright (c) 2004-2008 Fabrice Bellard

OS centos 6.3
thanks






At 2013-03-07 17:56:50,"Stefan Hajnoczi" <stefanha@gmail.com> wrote: >On Thu, Mar 07, 2013 at 02:49:30PM +0800, yue-kvm wrote: >> i create qcow2 format image with -o encryption, and assign password. >>  >> but when i qemu-img info encryt.qcow2 ,  it display encryt.qcow2 info no master  what i input, even just hit enter. >> the 'Password Authentication ' of qemu-img may be invalid. > >Don't worry, your data is encrypted.  The qemu-img info password check >is unnecessary because qcow2 metadata is unencrypted. > >I didn't get a password prompt from qemu-img info on an encrypted qcow2 >file using qemu.git/master. > >Which version of qemu-img are you using?  Perhaps the unnecessary prompt >has been fixed in a later version. > >Stefan >


------=_Part_276852_5734515.1362653839292--