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:
cryptsetup --debug -r luksOpen /dev/sr1 dvdati
# cryptsetup 2.0.2 processing "cryptsetup --debug -r luksOpen
/dev/sr1 dvdati"
# Running command open.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.
# Allocating context for crypt device /dev/sr1.
# Trying to open and read device /dev/sr1 with direct-io.
# Initialising device-mapper backend library.
# Trying to load any crypt type from device /dev/sr1.
# Crypto backend (gcrypt 1.8.1) initialized in cryptsetup library
version 2.0.2.
# Detected kernel Linux 5.3.1-050301-lowlatency x86_64.
# PBKDF pbkdf2, hash sha256, time_ms 2000 (iterations 0),
max_memory_kb 0, parallel_threads 0.
# Reading LUKS header of size 1024 from device /dev/sr1
# Key length 32, device size 2097151 sectors, header size 2050
sectors.
# Activating volume dvdati using token -1.
# Interactive passphrase entry requested.
Inserire la passphrase per /dev/sr1:
# Activating volume dvdati [keyslot -1] using passphrase.
# dm version [ opencount flush ] [16384] (*1)
# dm versions [ opencount flush ] [16384] (*1)
# Detected dm-ioctl version 4.40.0.
# Detected dm-crypt version 1.19.0.
# Device-mapper backend running with UDEV support enabled.
# dm status dvdati [ opencount flush ] [16384] (*1)
# Trying to open key slot 0 [ACTIVE_LAST].
# Reading key slot 0 area.
# Using userspace crypto wrapper to access keyslot area.
Slot di chiave 0 sbloccato.
# Calculated device size is 2093055 sectors (RW), offset 4096.
# DM-UUID is CRYPT-LUKS1-fc00404de1784730ae9492929a0db06c-dvdati
# Udev cookie 0xd4d0652 (semid 10) created
# Udev cookie 0xd4d0652 (semid 10) incremented to 1
# Udev cookie 0xd4d0652 (semid 10) incremented to 2
# Udev cookie 0xd4d0652 (semid 10) assigned to CREATE task(0) with
flags DISABLE_LIBRARY_FALLBACK (0x20)
# dm create dvdati
CRYPT-LUKS1-fc00404de1784730ae9492929a0db06c-dvdati [ opencount flush ]
[16384] (*1)
# dm reload dvdati [ opencount flush readonly securedata ]
[16384] (*1)
device-mapper: reload ioctl on failed: Argomento non valido
# Udev cookie 0xd4d0652 (semid 10) decremented to 1
# Udev cookie 0xd4d0652 (semid 10) incremented to 2
# Udev cookie 0xd4d0652 (semid 10) assigned to REMOVE task(2) with
flags DISABLE_LIBRARY_FALLBACK (0x20)
# dm remove dvdati [ opencount flush readonly securedata ]
[16384] (*1)
# Udev cookie 0xd4d0652 (semid 10) decremented to 1
# Udev cookie 0xd4d0652 (semid 10) waiting for zero
# Udev cookie 0xd4d0652 (semid 10) destroyed
# Releasing crypt device /dev/sr1 context.
# Releasing device-mapper backend.
# Unlocking memory.
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?
Many thanks!
Davide
_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
https://www.saout.de/mailman/listinfo/dm-crypt