dm-crypt.saout.de archive mirror
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Davide Marchi <danjde@msw.it>, dm-crypt@saout.de
Subject: Re: [dm-crypt] Encrypting DVD or CDROM from iso
Date: Thu, 12 Nov 2020 10:32:44 +0100	[thread overview]
Message-ID: <df00b05b-cb57-5bd1-24e9-1ad807d7c155@gmail.com> (raw)
In-Reply-To: <4d5bc266dc3a8afcee0e13f5476f4a38@msw.it>

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:
...
>      Comando non riuscito con codice -1 (parametri errati o mancanti).
> 
> 
> 
> and also the iso not dockable to the loopback device:
> 
>      #cryptsetup -r luksOpen /dev/loop20 volume1
>      #The required offset is beyond the actual size of the /dev/loop20 
> device
> 
> Could you give me a tips for make it working?

While the page you linked is quite old, it still works (I tried 2.0.2 version even).
(Loop devices are now allocated automatically, no need to use losetup with cryptsetup,
just use file as the argument. THe size calculation is too tricky there, it can be simplified.).

Are you sure that your *.iso image was correctly created? It seems to me that
it is just LUKS header without data (that's why "beyond offset" error).

Milan

  parent reply	other threads:[~2020-11-12  9:32 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.
2020-11-12  9:32 ` Milan Broz [this message]
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=df00b05b-cb57-5bd1-24e9-1ad807d7c155@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=danjde@msw.it \
    --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).