High Security on Mac/Linux Using GPG and a ThumbDrive

Using the free Gnu Privacy Guard and a USB thumb drive (which are often given away in promotionals and should be available for under $10 in small storage capacities), you can implement a strong (AES) encryption system to protect sensitive files on your computer. The process divides the means to decrypting sensitive data into three distinct components:

  • the encrypted file(s)–on your computer
  • the private key needed to decrypt the files–on your thumbdrive
  • the password required in combination with the private key to decrypt files–in your head

The process is simple and affords a great degree of security to your encrypted files, because all three components must be assembled to decrypt the data–a difficult task for a laptop thief or even a nosey coworker to accomplish, especially if you remove your thumb drive from your computer when you are not using it.

Mounting a USB device in Linux is slightly trickier than on a Mac. For a good discussion of the issues, see this post. Once you have the device mounted, copy your .gnupg directory to the device (e.g. cp -r .gnupg /Volumes/cryptkey). Then, once you have verified the directory exists and the files look good, remove the .gnupg from your home directory and set up a symbolic link to the directory on the USB device (e.g. ln -s /Volumes/cryptkey/.gnupg .gnupg). Now you can only use gnupg when the device is mounted. Always remember to properly unmount the USB device (i.e. drag the icon to the trash on a Mac) before physically removing it, or you could damage the contents. This approach is particularly useful when combined with a GPG email plugin. For Thunderbird, for example, I use enigmail.

3 Comments

  1. Posted October 2, 2005 at 1:29 am | Permalink

    Everyone probably already knows it, but Apple+E also Unmounts/Ejects the selected drives/usb device/dmg file.

  2. Robert
    Posted October 8, 2005 at 12:53 am | Permalink

    I probably should mention it’s a good idea to keep a CD-ROM backup of your .gnupg directory, just in case — an improperly ejected USB drive can ruin your data.

  3. Posted February 13, 2008 at 6:51 am | Permalink

    I prefer going advance, thanks for the useful information.

Post a Comment

Your email is never shared. Required fields are marked *

*
*


Popular Tags

Academia Academy Of American Poets Accessible Poetry Adam Zagajewski Aliso Street Bear Andrew Philip Arcade Poetry Series Arroyo Arts Collective Artists' Union Gallery Art Therapy Avant Garde B.H. Fairchild Bart's Books Bell Arts Factory Beowulf Blogging Christian Wiman Code Poet Conservation Czesław Miłosz David Allen Day Fire Denise Levertov Dorianne Laux Facebook First Books Friday Lubina George Wallace Gerard Manley Hopkins Google Gregory Orr GTD Gwendolyn Alley Heart And Mind Hope Jackson Wheeler James Valentine Peake Japan Jawanza Dumisani John Keats Joseph Millar Kathleen Tyler Li-Young Lee London Los Angeles Louise Glück Love Low-Res Low-Residency MFA Marvin Bell Mary Oliver Merlin Mann MFA Residency 1 MFA Residency 2 MFA Residency 3 MFA Residency 4 MFA Residency 5 Michael Wells Michelle Bitting Miranda Nature Negative Capability Ojai Ojai Poetry Festival Pablo Neruda Pacific University Passings Performance Poetry Phil Taggart Poetry In The Windows Polish Poetry Post-Postmodernism Ralph Waldo Emerson Rattle Read Write Poem Robert Hass Robert Pinsky Salt Publishing Sandford Lyne Sandra Alcosser Sarah Maclay Seamus Heaney Social Networking Sonnets Stephen Booth Suzanne Lummis The Economy The Phoenix The World Stage Tree Bernstein Twitter UC Berkeley Umberto Saba Wallace Stevens Why Poetry Zbigniew Herbert ZCE Zen Zoey's Cafe