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.
no you're not getting it. it's just data, nothing here cares in anyway whatsoever what the file is, it just reads it. It doesn't know it's an image, it doesn't have any interest in interpreting the file correctly at all. it's just gobbledygook to be used as an encryption hash, and lots of it...
Yea so what acid_kewpie is saying is that you point LUKS at a file, doesn't matter which and LUKS will read say the first 1MB of that file. Picture, music, movie, it doesn't matter. Either way the first 1MB is read and that is your key. I'm not saying it does read the first 1MB I'm just saying it reads a chunk of data from any file. That chunk of data is your key. If your file changes, and that chunk of data in the file changes, it will no longer work as a key.
Yea so what acid_kewpie is saying is that you point LUKS at a file, doesn't matter which and LUKS will read say the first 1MB of that file. Picture, music, movie, it doesn't matter. Either way the first 1MB is read and that is your key. I'm not saying it does read the first 1MB I'm just saying it reads a chunk of data from any file. That chunk of data is your key. If your file changes, and that chunk of data in the file changes, it will no longer work as a key.
What if I have two pictures of my cat? Will they both work? What if he gets bigger in one of them or has a different colour collar on?
If the data read from both files are the same, then they both should work.
If the data read from both files is different, then only one will work.
If they are different you could add the other to another key slot and then they both would work.
Please, acid_kewpie, explain how "the jpeg has its own set stream of data that is read" is "not getting it at all," because as far as I can tell, that's a perfectly apt description. But thanks for the condescension!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.