Root & user logins : Passwords? Why not encryption keys instead?
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.
I'm curious, why do we still use passwords that are typed in manually for logging in root or user accounts? Why not an encryption key that's read from a floppy or usb key?
because we don't want to carry floppies or usb keys which might break up or get lost, and they weight more than if we didn't carry them...and they can be stolen, whereas stealing a password is a bit more complicated task..
and not every workstation has a usb-port or floppy drive. one of mine, for example, doesn't have neither of those, but I still need to access it..
there are numerous reasons altough the idea itself is good, it's not that good in an everyday life I guess....not yet at least, with this technic.
EDIT: let's think of this: these days you'll have to carry some kind of passport when travelling abroad. that can be stolen, and some might even use it for their own goods...well, nowadays it's possible to identify people by their eyes' iris, dna etc...that information can't be stolen, and we carry it with us always. passport can be forgotten, but eyes or dna not..
I'm not supporting identifying people by their eyes' iris or dna or anything like that, by the way...I don't think it's a good idea. for certain persons, yes - like some very important or dangerous, but for every people on everyday life...no. but as an example you can think like that..
[b]...it's possible to identify people by their eyes' iris, dna etc....
But, it's not practical... You only have two eyes and one DNA. Using either would be like using the same password for your Hotmail account, your pr0n membership, your bank account, and your living will, and never being able to change it. With a typed-in password, I can have a whole list of different ones.
Also, it CAN be stolen. Think of something like a key-stroke capture program, only this one grabs a copy of your iris as it's scanned. Once it's stolen, it can be added to a spoofing program... When the remote computer queries the local computer for you to put your eye to the scanner, the spoofing program jumps inbetween and supplies the stolen "password".
ok, now we got into a sci-fi stuff ranger_nemo, yes that is like having one key for everything...it was just meant to make an example of the differences between carryable and "built-in" securing systems..those reasons you mentioned above are one thing why I don't like the idea at all even though it's possible. everything can be stolen, but I just meant that your iris can't be physically stolen (or at least it will hurt quite much, and possibly you'll end up six feet under at the same time) but passport can, quite easily even.
the main point is just that it's far more secure (at least these days) to have the thing in your brains and nowhere else, that you use to access secured stuff, than carry it along in your pocket..
A few ideas concerning floppy/usb encryption keys:
1) The dongle has gone the way of the dinosaur. In years past, many commercial apps required a dongle of some sort on the parallel or serial port in order to function properly---that is, hardware based copy protection.
2) As stated above, hardware (floppy/usb/etc) encryption keys can be lost/stolen, and many workstations/desktops/PC's do not have those capabilities.
3) The passwords are stored in an encrypted format anyway, the key to which is the password itself.
4) Many types of encryption have heavy controls within various political entities, and many are unavailable outside the USA due to export restrictions.
That being said, I have no objection to using an encryption system to keep data secure. I'm not sure if 2.6.7 has the capability to encrypt filesystems, however I do believe I saw something like that in the kernel configuration somewhere. I would think, however, that it would be a major filesystem hack. I can see many possibilities:
1) encrypt the entire hard drive, and have a bootloader password which doubles as a decryption key for the boot files.
2) encrypt individual user files, with a master decryption key available to root.
3) Allow file ops only on decrypted files---that way, in order to rm -rf usr, you would need to provide the superuser decryption key.
These would all involve major kernel/bootloader rewrites. Fun, eh?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.