LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2009, 03:14 AM   #1
Techgal
LQ Newbie
 
Registered: May 2009
Posts: 4

Rep: Reputation: 0
Encryption Enough?


I want to hide some of my private photos, is there any security software doing this? Is encryption enough or are there other ways? What are the popular software for this purpose? Thanks.
 
Old 05-25-2009, 03:19 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
There is gnupg software to do this.
www.gnupg.org
 
Old 05-25-2009, 04:41 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Techgal View Post
I want to hide some of my private photos, is there any security software doing this? Is encryption enough or are there other ways? What are the popular software for this purpose? Thanks.
There are things like encfs or truecrypt, and several
other solutions out there. I'd prefer those over an
encryption with GPG because they work transparently.

With encfs (I use it a bit) you create and encrypted
file-system with a mount-point via FUSE that lets you
access the files normally - when you un-mount FUSE the
files (and their names) are plain garble.



Cheers,
Tink
 
Old 05-27-2009, 03:34 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
You can also tar the files and then 7zip them with 7zip's password-protected encryption function.

IMO this is safer than an encrypted filing system, I've heard too many horror stories of people losing entire partitions through an encrypted filing system that just died, got corrupted or didn't handle an unforseen power loss / power outage well (especially if it was busy decrypting / encrypting when the system lost power).
 
Old 05-27-2009, 03:37 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
And a password-encrypted 7zip file that's being written to
will magically stop the power outage? ;}



Cheers,
Tink
 
Old 05-27-2009, 04:28 AM   #6
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103


Tee hee hee!

No, of course not, but the damage might be limited to one file, instead of the entire encrypted filing system becoming scrambled or inaccessible... not true?
 
Old 05-27-2009, 05:52 AM   #7
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Perhaps an easy thing would to add a new group and only allow users of that group to view the photos?
 
Old 05-27-2009, 12:02 PM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Perhaps an easy thing would to add a new group and only allow users of that group to view the photos?
Nice idea, but most of us don't have our hardware in a secure facility. Anyone with access to your hardware can access your data, unless it is encrypted.

My personal data, although personal, isn't that interesting, so I have not bothered. But I do have my home directory set to rwx------ permissions to discourage casual snooping.
 
Old 05-27-2009, 02:43 PM   #9
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
Originally Posted by contusion View Post
There is gnupg software to do this.
www.gnupg.org
I had a bad experience with this; entirely my own fault no doubt. I thought gnupg was like any other encryption: if you know the passphrase, you can unlock the files. Little did I know that the keyring you generate is unique and that if you lose it, you will never be able to decrypt your data again. FYI, don't count on being able to regenerate a new key with the old passphrase. So I'd endorse the encrypted filesystem.
 
Old 05-27-2009, 02:49 PM   #10
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Techgal
I want to hide some of my private photos, is there any security software doing this? Is encryption enough or are there other ways? What are the popular software for this purpose? Thanks.
IMO, a little context from you would go a long way in helping others help you with a recommendation.

Yes, gnupg is a good candidate, as is an encrypted filesystem. But both are severe overkill in some situations. And, alone, they're probably not enough in others.

What is the impact if your private photos are discovered? Someone gets a little offended? Or top secret information is leaked?

Also, how is the computer physically secured? Do others have easy access to it?
 
Old 05-28-2009, 11:31 PM   #11
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Why not just burn it on disk and forget about it.

My question is why encrypt photos any ways? Perhaps it is child porn?

Also, don't you hate it when people post a question and never respond again.

Last edited by okos; 05-28-2009 at 11:34 PM.
 
Old 05-31-2009, 11:18 PM   #12
Techgal
LQ Newbie
 
Registered: May 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys for your suggestions. I am still looking around. This encryption thing is more complicated than I thought! By the way, reason I need to encrypt photos...highly confidential lol!!
 
Old 06-01-2009, 12:31 AM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you go that route, keep the decryption key on a separate removable media.!
(2 copies, separately).
 
Old 06-01-2009, 01:23 AM   #14
Angry_Tommy
LQ Newbie
 
Registered: May 2009
Location: Leeds
Distribution: Gentoo, Arch Linux
Posts: 25

Rep: Reputation: 17
Quote:
Originally Posted by Techgal View Post
Thanks guys for your suggestions. I am still looking around. This encryption thing is more complicated than I thought! By the way, reason I need to encrypt photos...highly confidential lol!!
If gnupg is to difficult for you use something else. I would recommend a symmetric encryption; something like for example 128bit AEC etc. Basically the same password encrypts and decrypts your files. No need to keep public/private keys somewhere on your disk.

Another "easy" option is to use truecrypt software. Very easy to use even for beginners.

http://www.truecrypt.org/
 
Old 06-01-2009, 05:01 AM   #15
rysiekmus2
Member
 
Registered: Mar 2007
Location: Manchester UK
Distribution: Sabayon
Posts: 30

Rep: Reputation: 17
Hi All,

I myself use gnupg, with the use of the frontend KGpg in KDE. Every time I login the KGpg icon sits in the Systray and I can open an manage my passphrase files easily. It's very easy to use. Be sure to make a backup of your passphrase folder that sits in $HOME/.gnupg. I do this simply by using tar and saving the file on my USB stick, for example in my home directory:
$ tar cvf /media/USBDISK/gnupg.tar .gnupg
To restore all you do is:
$ tar xvf /media/USBDISK/gnupg.tar

You can restore the passphrase anywhere you want, even if you reinstall your system.

As for pictures, I don't encrypt mine, but I guess the best way to do it is to pack the files into a zipped one and then encrypt the zip file with KGpg. It's easy again, because when you RightClick on the file, you will have a menu Actions -> Encrypt File. Otherwise, when opening each picture you would be asked to give the password with every file, if you want to encrypt 100 files, it would be pretty annoying to open them, don't you think?

As for using chmod and chgrp, today we all know anyone can download a fully functional Live DVD with Linux that can mount and read any file system, even your hard drive, so using those commands are good in you local home or working environment, where you don't want your fiance to look at your pictures and who knows very little about IT stuff.

Personally, I also wouldn't also dare to encrypt my whole file system. It's too dangerous and it's good for people who have some good knowledge how things work and how to recover files when you have a disaster. The other question is how you can port files from such a system to another computer?

I hope this helps.
Regards,
Richard
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux password encryption and data encryption Tux-Slack Programming 4 06-20-2007 06:46 AM
Encryption craigs1987 Programming 1 05-01-2005 11:47 PM
Encryption shaf.rahman Red Hat 1 04-19-2005 02:59 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM
Anyone know anything about encryption? BrianK Linux - General 1 07-09-2002 10:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration