(Rules taken from an email thread I’m reading right now).
The email thread was trying to ascertain if there are effectively things equivalent to Apple Keychain on Linux. Here’s how my favorite response went:
- Be a Windows security guru, claiming to answer a question about linux
- Start your post off with a link/mention to a book you’ve co-authored, which has little to do with the subject at hand. Also, for the sake of completeness, have at least 2 links to other books you’ve written in your signature. As a general rule, the amount of space spent on book references should be greater than the amount used to answer the actual question being asked.
- Back up your response by claiming that you “researched this area”. Bonus points for using this an excuse for a book reference.
- Call “Keychain” “KeyRing“.
- Say that there aren’t any Linux solutions, even though you accidentally gave the name of one (Gnome Keyring and KDE KWallet are two popular ones).
- Take this opportunity to explain that the best solution EVAR is Windows’s solution, even though it isn’t helpful for the question asked.
- Oh, and actually have no clue what you are talking about.
My favorite part, really, is #6. You see, when I first read this, I was quite perplexed. I had no idea that Windows had an equivalent of Keychain.
A few google searches later and I figure out what he is talking about: “Stored Usernames and Passwords”.
WTF?
The first page I found on this (from searching for various combinations of “Windows”, “passwords”, “keychain”, and some other words) was this one, a KB article on how to manage storedpasswords: http://support.microsoft.com/kb/306992.
Time for a new list:
How to write a shitty analog of Keychain:
- Require a long article on how to manage stored passwords, since it non-obvious
- No hierarchy – your database is a list of passwords, and the only “hierarchical” information is whether or not the password is a Windows credential or “A Web site or program credential”
- Use really strange formats for the “log on to” portion (i.e. don’t use a consistent URI format throughout)
- Make a UI lack utility utility (mostly due to the above 3)
- Don’t allow the user to store arbitrary data in entries
- Don’t allow the user to lock portions of the tree under a different password, or import/export portions of the tree
- Provide only the equivalent of the “login” keychain (a set of entries that is automatically unlocked when you login)
- Give it a name that is four words long, basically making it annoying to say or type in any type of conversation
- Be completely unconfigurable – useful configurations include things like “forget my password after blah minutes”, whether or not to unlock on login, and perhaps app-by-app configuration of what each application is allowed to access (a la PolicyKit)
In fact, the Windows solution doesn’t even compare with, say, Firefox’s stored password support, since Firefox’s support gives a better UI experience (#4), kinda solves #2 by providing a search feature, is discoverable (#1), and can be separately password protected (#7). Oh, and it is in a friggin web browser.
The linux solutions are about as good as keychain, although they all suffer from uglier UI and being slightly less pervasive than Keychain (gnome keyring; kwallet is fairly pervasive). However, gnome-keyring-manager and KWalletManager are miles beyond anything included in Windows.
In the end, the world was sat right, with an email that illustrates the contrary to the first email.
How to be helpful and not look retarded:
- Keep your email short (this email had 6 words, other than the two provided links).
- Provide only factual information
- If you reference things helpful to the question, provide links.
- Don’t talk about anything unrelated to the answer.
- Don’t represent yourself as some type of expert
- And, above all, be correct, and provide the links to the two popular linux equivalents of Keychain
Now all I have to do is continue fighting the temptation to feed the troll. He’s making is especially hard – in a separate part of the thread, he made some other “WINDOWS IS TEH B3ST!” comment, something about random number generators.
Ugh.