HNHacker News
TopNewBestAskShowJobs

sporksmith

154 karma · joined October 1, 2009

[ my public key: https://keybase.io/jnewsome; my proof: https://keybase.io/jnewsome/sigs/nZk40avWuH1721g6G7C9mN5zlndeq2SLYwYN5JgX_qU ]
submissionscomments
sporksmith··on Enforcing Different Passwords for Different Sites
> The point is that the mandatory substring is random and unique to you.

Ah, that's a little better. I still think the security gained is not enough to justify how much of a usability problem this could be, though. Assuming the per-user fixed substring is a secret, you're basically assigning the user's password (though giving them an option to strengthen it with their own 'root' password). If it's not secret then not much security is gained.

> How could you enforce the usage of a password manager?

I don't know of a good way. Although if every site starting assigning (part of) the password, as above, I suppose that would do it.

sporksmith··on Enforcing Different Passwords for Different Sites
I agree this is a major issue, and in fact was specifically covered in an earlier xkcd (http://xkcd.com/792/) than the one cited (http://xkcd.com/936/).

It might be a good idea to enforce non-password reuse, but the proposed solutions seem fairly aggravating. In particular the 'webmaster' solution of requiring inclusion of a fixed string is extremely annoying (oops, sorry users who use cryptographically derived passwords (http://passwordmaker.org/)), and doesn't solve the problem since someone with your "main" password can probably guess the "derived" password (e.g., the main password with the mandatory substring appended to the end).

My solution as a user is to just use a password manager. I use clipperz(http://clipperz.com/), but there's plenty others out there.

* Edited to remove markdown-style links. Forgot it wasn't supported here.

sporksmith··on Want to be more secure? Build two-factor authentication into your webapp
Isn't this typically the case anyways? A hacker with access to your email account can just use the password reset mechanism to get a sign-in link to your other web sites.
sporksmith··on PointerPointer: points to your cursor
Fun :). I did something similar with a bunch of photos of a stuffed monkey. I made a music video instead of an interactive web app, though the latter would probably not be too difficult since I wrote the software using Processing. http://sporksmith.wordpress.com/travels-of-code-monkey/
sporksmith··on Protecting a Laptop from Simple and Sophisticated Attacks
You may want to take a look at tboot: http://tboot.sourceforge.net/

tboot is a version of grub modified to perform a TPM-measured launch of the OS. It's not sufficient by itself to do what you want, but you could build on that by, say, sealing a volume encryption key under that measurement, such that if the boot loader is modified, virtualized, etc., it won't be able to decrypt the volume. (Or less aggressively, sealing a user-secret that is displayed at the grub-menu, allowing you to verify the above, but not completely hosing you if the measurement changes unexpectedly due to a software upgrade etc.)

sporksmith··on Mozilla's secure coding guidelines for web developers
I thought this was interesting as well. The second bullet is a bit misleading though. The benefit is not just in case there is a design weakness in bcrypt. The real benefit is briefly summarized in the first bullet: It's effectively forcing the attacker to compromise not only the database but also the file system to be able to make any offline password guesses.

With bcrypt alone, compromise of the password hashes still allows brute-force offline dictionary attacks. bcrypt means that each guess might take, e.g., milliseconds instead of microseconds, but an attacker has all of the information he needs to make offline guesses and check them against the compromised hash.

The hmac step means that an attacker who has the password hashes but not the hmac nonce effectively doesn't get any offline guesses. Assuming the nonce is e.g., 128+ bits, it'll be computationally infeasible for the attacker to guess the nonce itself, without which he can't verify any offline password guesses.

sporksmith··on How to hide thinking at work so that the non-programmers don't suspect slacking
One response I'm surprised didn't get more votes at stackoverflow is thinking on paper. Not only does it make the fact that you're thinking visible and socially acceptable; it's a big help in focusing your thoughts. I use this all of the time for brainstorming, planning, or "rubber ducky debugging", and I find that I make a lot more progress on paper than trying to just do it in my head.

The permanent record is a secondary bonus, but sometimes I find writing in a permanent place like my bound notebook makes me hold back and do the thinking in my head again so that I can write perfectly, instead of just brain dumping as I think. When I get blocked like this, I switch to looseleaf, which I can toss if it turns out to be scribbles. More often I end up saving that too, though, in folders.

← PreviousPage 2 of 2