Re: Altering hash for existing volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



also sprach Roscoe <eocsor@xxxxxxxxx> [2009.07.18.0303 +0200]:
> No, it's not possible to use two different hashes, this is simply
> because there is only one hash spec field. To do so would require
> using a different on disk format to LUKS.

Hm, sounds a bit like a design shortcoming.

> It would be possible to change from sha1 to another hash for all your
> key slots, it would merely require decrypting each keyslot using
> PBKDF2/sha1, and then re-encrypting using PBKDF2/newhash.
> 
> That's a bit of screwing around coding a niche functionality.

cryptsetup cannot do this though, right?

> What I'd like to see is -h support for LUKS in cryptsetup, the
> ability to print the bulk payload key and the ability to specify
> the bulk payload key with luksFormat (which is useful in other
> circumstances too). That way one could achieve what you desire
> pretty easily..

I don't understand. Are you saying that I'd use luksFormat just to
install a new header for an existing crypted filesystem, and since
I am supplying the same old key (this time hashed differently), it
should just work?

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
when everything is coming your way, you're in the wrong lane.
 
spamtraps: madduck.bogus@xxxxxxxxxxx

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux