• Encrypt files with GnuPG

    by  • August 1, 2010 • Tips, Utilities • 1 Comment

    Here is a simple and quick way for you to encrypt files in Linux:

    gpg –output doc.gpg –encrypt –recipient EmailofRecipient@blah.com original_file.doc

    Further explained:

    • –output (or -o) is the name of the encrypted file
    • –recipient (or -r) is the person who will be decrypting the file. If the file is for yourself only, use the email address of your GPG key.

    To decrypt:

    gpg --output output_file.doc --decrypt doc.gpg

    I recently used this to encrypt a sensitive file before placing it on my Dropbox account. Nice safe way to place a private document in the cloud.

    Reference, GnuPG manual.

     

    If you enjoyed this post, make sure you subscribe to my RSS feed!

    About

    Using computers since the early 90s. Old timer with windows, more recently converted to Linux.

    http://opencomputer.net

    One Response to Encrypt files with GnuPG

    1. August 29, 2011 at 1:40 pm

      I liked your article is an interesting technology
      thanks to google I found you

    Leave a Reply

    Your email address will not be published. Required fields are marked *