Results 1 to 5 of 5

Thread: OpenSSL or OpenPGP for files on usb drive

  1. #1
    Join Date
    Feb 2012
    Beans
    13

    OpenSSL or OpenPGP for files on usb drive

    Folks:
    I am trying to encrypt files on my USB flash drive. I am always losing them at school.

    I am not looking for entire drive encryption, but only at the file level. I want it to ask a password when opening the file.

    should I use OpenSSL or OpenPGP for individual file AES-256 encryption?

    thank you.

  2. #2
    Join Date
    Jan 2009
    Beans
    Hidden!

    Re: OpenSSL or OpenPGP for files on usb drive

    Quote Originally Posted by jaz0nj4ckal View Post
    Folks:
    I am trying to encrypt files on my USB flash drive. I am always losing them at school.

    I am not looking for entire drive encryption, but only at the file level. I want it to ask a password when opening the file.

    should I use OpenSSL or OpenPGP for individual file AES-256 encryption?

    thank you.
    gpg was easy to use earlier as there was very nice plugin to nautilus to encrypt decrypt with gpg just with right mouse click.

    This feature should be now again available as stated here:
    http://ubuntuforums.org/showthread.php?t=1928660

    There is again a plugin called seahorse-nautilus and then all should work.
    I did not test it myself so far, have 11.04 ubuntu still and this can use the old plugin still.

    Note that while it is possible to make plain symetric encryption with pgp/gpg, it is in general used so that you encrypt it to a certain key and will then need the gpg and the private key on the target machine ready to be able to decrypt it.

    To use just plain AES symetric encryption, there might be some more simple ways of doing it.

  3. #3
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: OpenSSL or OpenPGP for files on usb drive

    I guess you want something that will work on most computers. One option is to have a boot stick with a persistent live system, another one to have a 'normal' installed system (but installed onto the stick). Then you can easily have the gpg software with or without any GUI enhancement and run pgp encryption.

    If you learn the basic terminal commands options for gpg, you can also add gpg.exe and run it in windows 'dosprompt' (if you borrow a windows computer, that is already running).

  4. #4
    Join Date
    Feb 2012
    Beans
    13

    Re: OpenSSL or OpenPGP for files on usb drive

    I found the following, which shows how to use SSL, but I didn't think SSL could encrypt files, but I have seen a few sources saying it could be used.

    If you want the encryption to be platform independent, you can use openssl:

    Encryption:
    openssl aes-256-cbc -in attack-plan.txt -out message.enc


    Decryption:
    openssl aes-256-cbc -d -in message.enc -out plain-text.txt

    would this be a viable solution for what I want?
    Last edited by jaz0nj4ckal; March 12th, 2012 at 10:35 PM.

  5. #5
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: OpenSSL or OpenPGP for files on usb drive

    Quote Originally Posted by jaz0nj4ckal View Post
    I found the following, which shows how to use SSL, but I didn't think SSL could encrypt files, but I have seen a few sources saying it could be used.

    If you want the encryption to be platform independent, you can use openssl:

    Encryption:
    openssl aes-256-cbc -in attack-plan.txt -out message.enc


    Decryption:
    openssl aes-256-cbc -d -in message.enc -out plain-text.txt

    would this be a viable solution for what I want?
    Late reply, but yes it is viable solution. Maybe because you added the question as an edit, which did not update the 'unread flag' for me. New posts (replies) are easier to observe.

    Or you can use 7z (7-zip). One weak spot is the password. Use a long one, that is not found in a dictionary.
    Last edited by sudodus; July 8th, 2012 at 04:05 AM. Reason: added question as an edit?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •