I have an encrypted partition setup with LUKS. I've always wanted the choice to be able to wipe the drive upon an invalid password when unlocking my encrypted partition.
That's when I stumbled upon a tool I'd thought to share, Project beerbottle. Which can do more then just nuke the partition. There is a neat option to have the user login into a "fresh" environment upon invalid pass phrase
Code:
There exists the option for a duress password which would cause the encrypted partition to be overwritten seamlessly, presenting what appears to be a fresh install to the intruder.
The project can be found here, https://code.google.com/p/beerbottle/ .
The documentation is well written. This is not my project, just thought to share.