[dm-crypt] Forgot dm-crypt password; suggestions on steps to undertake

Matthew Monaco dgbaley27 at 0x01b.net
Tue Nov 12 19:56:29 CET 2013


On 11/12/2013 08:10 AM, Milan Broz wrote:
> On 11/12/2013 03:58 PM, Matthew Monaco wrote:
>> It didn't make sense to me to do it using libcryptsetup because the bottleneck
>> was the actual decryption attempt.
> 
> The example I posted link to is using common context and arbitrary number
> of processes (default is number of CPU cores) which run in parallel
> (hash iterations can easily run in parallel on different CPUs)
> So every process tries n-th line in candidate password file.
> 
> This is the advantage (plus save some negligible initialization time),
> otherwise script is fine of course.
> 

I read up from his message and missed your link. I'll keep that handy =) It's
not that I have a horrible memory, I just occasionally don't use a volume for
many months or even years at a time.



More information about the dm-crypt mailing list