From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CWkWL-0003t2-7x for qemu-devel@nongnu.org; Tue, 23 Nov 2004 18:56:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CWkWK-0003sh-H8 for qemu-devel@nongnu.org; Tue, 23 Nov 2004 18:56:28 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CWkMo-0006VF-1O for qemu-devel@nongnu.org; Tue, 23 Nov 2004 18:46:38 -0500 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id D220533184 for ; Wed, 24 Nov 2004 00:46:35 +0100 (CET) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07701-10 for ; Wed, 24 Nov 2004 00:46:35 +0100 (CET) Received: from bellard.org (unknown [84.99.204.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id A45AA3317B for ; Wed, 24 Nov 2004 00:46:35 +0100 (CET) Message-ID: <41A3CBEB.9020805@bellard.org> Date: Wed, 24 Nov 2004 00:46:51 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] How to specify a password for an encryped image? References: <41A3901D.8030206@chappell.com> In-Reply-To: <41A3901D.8030206@chappell.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Andras Kristof wrote: > Hi, > > I know it's slightly off topic, but please help me out if you can. > > When creating a new qemu disk image with the command: > > qemu-img create -e -f qcow encrypt_test.img 1000M > > Then how do you specify the password for the encrypted image? You need to specify the password only when you use the disk image and you know it is incorrect only because bad data is read. I may add an option to check the password in the next versions. Fabrice.