Any TrueCrypt (tcplay) or dm-crypt (cryptsetup) users?
Michael Neumann
mneumann at ntecs.de
Fri Dec 13 03:12:15 PST 2024
On Fri, Dec 13, 2024 at 07:06:37AM +0000, Francis GUDIN wrote:
> 11 d??cembre 2024 15:57 "Michael Neumann" <mneumann at ntecs.de> a ??crit:
>
> > Hi,
> >
> > Anyone using one of the following with a DragonFly system?
> >
>
> Hello,
>
> one of my machine (a laptop) was setup years ago with its storage encrypted.
> I'm having a hard time to remember how and with details re. cipher, etc.
>
> All i manage to get to is:
> % sudo dmsetup -v info root
> Name: root
> State: ACTIVE
> Read Ahead: 0
> Tables present: LIVE
> Open count: 0
> Event number: 0
> Major, minor: 255, 504430599
> Number of targets: 1
> UUID: CRYPT-LUKS1-root
>
> % kldstat -v | grep -i dm
> 11 dm
> 12 dm_target_crypt
> 13 dm_target_linear
> 14 dm_target_striped
> 15 dm_target_delay
> 16 dm_target_flakey
> 115 kbdmux
> %
>
> Does it help ?
>
> I can provide more details if you provide me with commands ;)
Let's say your encrypted disk is /dev/da0s1e. Try the following:
$ cryptsetup isLuks /dev/da0s1e && echo yes
yes
$ cryptsetup luksDump /dev/da0s1e
LUKS header information for /dev/da0s1e
Version: 1
Cipher name: aes
Cipher mode: cbc-essiv:sha256
Hash spec: sha1
Payload offset: 2056
MK bits: 256
The Cipher name and Cipher mode is interesting for me :).
It should be "aes" and "cbc-essiv:sha256" in almost all cases.
Best regards,
Michael
More information about the Users
mailing list