LWN.net Logo

Common pitfalls to avoid

Common pitfalls to avoid

Posted Oct 5, 2005 20:29 UTC (Wed) by Wummel (subscriber, #7591)
Parent article: Protecting Files at Home Using Encrypted Containers (Linux Journal)

A while ago I also wrote some scripts to mount encrypted loopback containers and burn them autmatically to DVD. There are some drawbacks though:

  1. The containers are not resizable, so you have to know the size beforehand, perhaps leaving some safety space for data that gets added later.
  2. The container file size is restricted when one wants to burn a container to DVD/CD (filesystem iso9660). Limits vary from 800MB to 4GB. On my system I was finally able to write 4GB container files with growisofs from the dvd+rw-tools to DVD.
  3. The key file (crypto.key in the article) is small, but extremly important. My scripts make multiple copies in case one gets corrupted.
    A solution would be to use LUKS as partition format.


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds