Opened 6 years ago

Last modified 6 years ago

#10098 new enhancement

DriveSetup: encrypted disks should display encrypted instead of empty

Reported by: dsjonny Owned by: stippi
Priority: normal Milestone: R1
Component: Applications/DriveSetup Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Using hrev46224 nightly anyboot.

I think DriveSetup should detect if the disk is encrypted, and show <encrypted> instead of <empty>. With this we can prevent the unwanted format of the disk. I have tried PGP (Symantec) and BitLocker (Microsoft) encrypted disk. I can provide block data from the disks if need. (I don't know how many encryption solutions are present, but I think it would be useful and safe.)

Attachments (2)

DriveSetup.png (27.3 KB) - added by dsjonny 6 years ago.
Encrypted.png (41.7 KB) - added by dsjonny 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by dsjonny

Attachment: DriveSetup.png added

Changed 6 years ago by dsjonny

Attachment: Encrypted.png added

comment:1 Changed 6 years ago by korli

The question is which layer should detect this, partition or filesystem. A couple of links: Detecting Bitlocker is described | here. How difficult or impossible it is to detect a Truecrypt drive | here

comment:2 Changed 6 years ago by dsjonny

Is it possible to detect the encrypted drive as Haiku detects the type of the FS?

comment:3 Changed 6 years ago by korli

FWIW partition types are defined here . Partition type (as defined in the partition table) isn't enough to identify an encrypted partition though. For example for Bitlocker, one would have to read the BPB, which is a priori the job of the filesystem.

comment:4 Changed 6 years ago by axeld

Just as a heads up: DriveEncryption is TrueCrypt compatible, and, as korli mentioned, its volumes cannot be detected at all.

Note: See TracTickets for help on using tickets.