[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v1 09/15] qcow: convert QCow to use QCryptoBlock
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v1 09/15] qcow: convert QCow to use QCryptoBlock for encryption |
Date: |
Mon, 16 Jan 2017 22:16:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
On 03.01.2017 19:27, Daniel P. Berrange wrote:
> This converts the qcow2 driver to make use of the QCryptoBlock
> APIs for encrypting image content. This is only wired up to
> permit use of the legacy QCow encryption format. Users who wish
> to have the strong LUKS format should switch to qcow2 instead.
>
> With this change it is now required to use the QCryptoSecret
> object for providing passwords, instead of the current block
> password APIs / interactive prompting.
>
> $QEMU \
> -object secret,id=sec0,filename=/home/berrange/encrypted.pw \
> -drive file=/home/berrange/encrypted.qcow,aes-key-secret=sec0
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
> ---
> block/crypto.c | 10 +++
> block/crypto.h | 9 +++
> block/qcow.c | 184
> +++++++++++++++++++++++----------------------------
> qapi/block-core.json | 17 ++++-
> 4 files changed, 117 insertions(+), 103 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v1 06/15] iotests: skip 048 with qcow which doesn't support resize, (continued)
- [Qemu-block] [PATCH v1 09/15] qcow: convert QCow to use QCryptoBlock for encryption, Daniel P. Berrange, 2017/01/03
- Re: [Qemu-block] [PATCH v1 09/15] qcow: convert QCow to use QCryptoBlock for encryption,
Max Reitz <=
- [Qemu-block] [PATCH v1 10/15] qcow2: make qcow2_encrypt_sectors encrypt in place, Daniel P. Berrange, 2017/01/03
- [Qemu-block] [PATCH v1 13/15] iotests: enable tests 134 and 158 to work with qcow (v1), Daniel P. Berrange, 2017/01/03
- [Qemu-block] [PATCH v1 11/15] qcow2: convert QCow2 to use QCryptoBlock for encryption, Daniel P. Berrange, 2017/01/03
- [Qemu-block] [PATCH v1 14/15] block: rip out all traces of password prompting, Daniel P. Berrange, 2017/01/03