From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relayout01-q01.e.movistar.es (relayout01-q01.e.movistar.es [86.109.101.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Thu, 12 Nov 2020 11:09:25 +0100 (CET) Received: from relayout01-redir.e.movistar.es (unknown [86.109.101.201]) by relayout01-out.e.movistar.es (Postfix) with ESMTP id 4CWy4C5KGhzjb7t for ; Thu, 12 Nov 2020 11:08:59 +0100 (CET) Received: from Telcontar.valinor (116.red-88-9-30.dynamicip.rima-tde.net [88.9.30.116]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: robin.listas2@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4CWy4B5WW2zfZRh for ; Thu, 12 Nov 2020 11:08:58 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by Telcontar.valinor (Postfix) with ESMTP id 6B1253225AD for ; Thu, 12 Nov 2020 11:08:56 +0100 (CET) Received: from Telcontar.valinor ([127.0.0.1]) by localhost (telcontar.valinor [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LeoWRxEO4AiC for ; Thu, 12 Nov 2020 11:08:56 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by Telcontar.valinor (Postfix) with ESMTP id 4E20C32079E for ; Thu, 12 Nov 2020 11:08:56 +0100 (CET) References: <4d5bc266dc3a8afcee0e13f5476f4a38@msw.it> <7fc28489-10f9-0033-65aa-03b841a23408@telefonica.net> <6bb76ae6-b9a6-2bac-8e81-d2e8b1db2dae@gmail.com> From: "Carlos E. R." Message-ID: <58cd913b-9dd1-976a-bf71-1c36a0c10d44@telefonica.net> Date: Thu, 12 Nov 2020 11:08:55 +0100 MIME-Version: 1.0 In-Reply-To: <6bb76ae6-b9a6-2bac-8e81-d2e8b1db2dae@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7uOkleVZYYeFUrDwS0jmfviA904UcdTfk" Subject: Re: [dm-crypt] Encrypting DVD or CDROM from iso List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt mail list This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7uOkleVZYYeFUrDwS0jmfviA904UcdTfk Content-Type: multipart/mixed; boundary="oSbpAyCJXJJJU0gOHtCQfSnK62z6DD5ef"; protected-headers="v1" From: "Carlos E. R." To: dm-crypt mail list Message-ID: <58cd913b-9dd1-976a-bf71-1c36a0c10d44@telefonica.net> Subject: Re: [dm-crypt] Encrypting DVD or CDROM from iso References: <4d5bc266dc3a8afcee0e13f5476f4a38@msw.it> <7fc28489-10f9-0033-65aa-03b841a23408@telefonica.net> <6bb76ae6-b9a6-2bac-8e81-d2e8b1db2dae@gmail.com> In-Reply-To: <6bb76ae6-b9a6-2bac-8e81-d2e8b1db2dae@gmail.com> --oSbpAyCJXJJJU0gOHtCQfSnK62z6DD5ef Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: quoted-printable On 12/11/2020 10.36, Milan Broz wrote: > On 11/11/2020 20:16, Carlos E. R. wrote: >> On 10/11/2020 17.22, Davide Marchi wrote: >>> Hi to all, >>> >>> I'm wondering how to create a DVD or CDROM encrypted using dm-crypt. >>> I've followed this tutorial, with no luck: >>> http://www.sourcentral.org/luks/iso9660/ >>> >>> and the DVD or cdrom created cannot be activated: >> >> Hum. I created encrypted DVD years ago with a similar procedure, >> somewhat simpler. Basically, I created an empty file of the same size = as >> the CD or DVD, mounted it as a loop device, then I encrypted that loop= >> device, and then I formatted the resulting luks device with any >> filesystem type I wished, typically XFS. >> >> This, so far, still works. >> >> Then I just burn that file to DVD. >> >> The final step is to mount and decipher the DVD - and this step failed= , >> but it was an XFS error if I remember correctly. >=20 > You cannot switch block size in XFS - if DVD reports 2k block and XFS > was formatted with 4k block device, it will never work. It worked several years ago, I have dozens of DVDs made this way. > This is not a cryptsetup problem but the way how XFS works. >=20 > Try to run lsblk -t and compare reported sector size for DVD device and= your > original device. If it is the same, it should work even for XFS. --=20 Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) --oSbpAyCJXJJJU0gOHtCQfSnK62z6DD5ef-- --7uOkleVZYYeFUrDwS0jmfviA904UcdTfk Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCX60JuAAKCRC1MxgcbY1H 1XT3AJ4/AqVGWrCGQ6zHGt+WNLJlcbUMxwCfXizSzT3NCj0X0DcEPNpKVrf1x5Q= =rOGW -----END PGP SIGNATURE----- --7uOkleVZYYeFUrDwS0jmfviA904UcdTfk--