[dm-crypt] "re-encrypting" ?

Roscoe eocsor at gmail.com
Sun Aug 14 10:05:30 CEST 2011


On Sun, Aug 14, 2011 at 9:35 AM,  <wolfgang.aigner at gmx.de> wrote:
...
> Yes, but its always dangerous and you could loose all your data. Don't trust on that and do a backup. If it doesn't matter if you loose anything you could use:
> dd if=/dev/mapper/[cryptdevice] of=/dev/[device] conv=notrunc
...


This strikes me as poor advice for the following reasons:

- It's writing out plaintext directly to his hard disk, the exact
thing he doesn't want to happen

- He asked for a re-encryption solution

- It's riskier than it has to be, you're not even backing up the master key...


-- Roscoe


More information about the dm-crypt mailing list