Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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).
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?
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.
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.
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?
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!!
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.