From: "Carlos E. R." <robin.listas@telefonica.net>
To: dm-crypt mail list <dm-crypt@saout.de>
Subject: Re: [dm-crypt] Encrypting DVD or CDROM from iso
Date: Thu, 12 Nov 2020 11:08:55 +0100 [thread overview]
Message-ID: <58cd913b-9dd1-976a-bf71-1c36a0c10d44@telefonica.net> (raw)
In-Reply-To: <6bb76ae6-b9a6-2bac-8e81-d2e8b1db2dae@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1433 bytes --]
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.
>
> 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.
>
> 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.
--
Cheers / Saludos,
Carlos E. R.
(from 15.1 x86_64 at Telcontar)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2020-11-12 10:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-10 16:22 [dm-crypt] Encrypting DVD or CDROM from iso Davide Marchi
2020-11-10 16:59 ` Ondrej Kozina
2020-11-11 19:16 ` Carlos E. R.
2020-11-12 9:36 ` Milan Broz
2020-11-12 10:08 ` Carlos E. R. [this message]
2020-11-12 9:32 ` Milan Broz
2020-11-18 14:59 Davide Marchi
2020-11-18 17:25 Davide Marchi
2020-11-18 18:03 ` Milan Broz
[not found] <mailman.1.1605783602.13300.dm-crypt@saout.de>
2020-11-19 13:05 ` Davide Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58cd913b-9dd1-976a-bf71-1c36a0c10d44@telefonica.net \
--to=robin.listas@telefonica.net \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).