Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-06-2004, 01:33 AM
|
#1
|
|
Member
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196
Rep:
|
using mcrypt from commandline
Hi,
I've never used crypt or mcrypt, and i need to encrypt a .tar file to later decrypt it again. I would appreciate if someone explained me step by step what i have to do. Im interested in using a maximum security algorithm but im pretty ignorant in this topic
cheers !
|
|
|
|
12-08-2004, 10:16 PM
|
#2
|
|
Member
Registered: Oct 2004
Posts: 229
Rep:
|
try gpg for some serious crypto
look at http://www.gnupg.org
it has the howto's and the downloads if you haven't got them yet.
you could write your own small php encryption program it takes only a second to get symetric encryption to work. Have a look at the mcrypt thing in www.php.net
|
|
|
|
12-10-2004, 04:14 PM
|
#3
|
|
Member
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196
Original Poster
Rep:
|
I've read most googleable tutorials, but when it starts talking about generating symmetric keys and upgrading the kernel for random number generation they lose me 
|
|
|
|
12-10-2004, 09:02 PM
|
#4
|
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
What's hard?
Code:
gpg --gen-key
gpg --encrypt-files [files]
Once a file is encrypted though, don't lose the keys that you used (they're stored in ~/.gnupg) or the data will be forever lost.
|
|
|
|
12-11-2004, 01:08 AM
|
#5
|
|
Member
Registered: Sep 2001
Location: Venezuela, Caracas
Distribution: RedHat 9.0
Posts: 196
Original Poster
Rep:
|
Thanks sigsegv for putting it in clear terms. If it would have been so easy to found an example like yours,.. apparently people doesnt feel comfortable with simplicity
|
|
|
|
12-11-2004, 09:17 AM
|
#6
|
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Quote:
Originally posted by Hano
Thanks sigsegv for putting it in clear terms. If it would have been so easy to found an example like yours,.. apparently people doesnt feel comfortable with simplicity
|
I don't feel comfortable with it either. I expect a user to know what they're doing, or at least be able to read/search, which in this case it looks like you have (some). GPG isn't hard software, and the documentation is plentiful, so I really don't know why anyone with basic reading comprehension skills would need help beyond someone telling them GPG is what they're looking for.
Crypto is one of those things ... Just because you know the commands to do something doesn't mean you don't have to know how it works. Not knowing what you're doing and how the software works is an almost definite eventuality of data loss.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|