Can I change the default algorithm for password encryption
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.
MD5 is sufficient unless you are doing top secret defence contract work! In which case you should consider a Fedora / Red Hat / CentOS setup with encrypted hard disk drives....
The reason I asked was because I heard of the hacks of MD5 keys. I know the linux community and distros already fixed the problem, but I wanted to be sure if using a better encrytion would be better. I'll stick with the MD5 for now.
Ah, to be honest you can change the encryption algorithm used, but it would be a hack, and no doubt breakable by someone, probably easier than breaking MD5.
Seriously though, unless your machine is in a public place, you should have no problems. Here is a link that describes the type of attack that MD5 passwords are most susceptible to: http://en.wikipedia.org/wiki/Dictionary_attack. If you ensure that your password contains a word, mix of upper and lower case, symbols, numbers all in a mix, it's very unlikely that it will be broken easily.
I was serious when I suggested encrypted hard drives, if your machine is in a public place, and someone can physically open it, they won't need your password to access your files!
I'm assuming your concern revolves around MD5 collisions, right? To get his hands on your hashes the attacker would have already either gained root privileges or obtained physical access to your box. Without the hashes in hand, the attacker wouldn't know when a collision was found. So even with collision attacks possible, the risk level remains steady as long as the probability of the hashes falling into the wrong hands remains steady.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.