Linux - SecurityThis 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.
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 am really bad with this stuff... This is probably a dumb question, but openssl just drives me crazy.
I have 2 images, I know the commands to decrypt them, I can do that, its easy. However, I want to also be able to re-encrypt after some modifications, and I just can't figure it out.
Again, I am really bad with this kind of thing. It looks to me like there is 4 separate security keys... Here are the commands I use to decrypt these image files, can somebody explain to me how to reverse these commands to re-encrypt the files?
Please read the enc(1) and smime(1) manpages. It might be easier to understand if you clean up your pipelines and document (for yourself) what is happening.
Last edited by anomie; 03-19-2011 at 08:38 AM.
Reason: clarified.
Please read the enc(1) and smime(1) manpages. It might be easier to understand if you clean up your pipelines and document (for yourself) what is happening.
Great! thanks, just that first command might be enough, I should be able to modify a script in that first image so that the second image does not need to be encrypted at all.
In the command I posted to decrypt the second image, I think I added an extra pipe near the end accidentally, right before the redirect. Oops, sorry. For the most part I am pretty good at understanding pipes and redirects and such, but openssl and encryption stuff is just so complicated...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.