News for hackers. Stuff that matters.
Re:Ask HN: Review my App - Freeciv.net by pyre on Saturday December 19, 2009 @09:35PM (#1005613)
Some stupid rule thought up by someone that is trying to force users to make passwords that they can remember. Like some sort of Web/IT version Clippy saying, "I see you're trying to enter a password with a '+' in it. Are you sure that isn't a typo?"

Either that or their backend software is incompetent (as well as the people that made it) and can't handle pattern-matching outside of [:alnum:] or can't store character values outside of [:alnum:]. It's the same reason that there are many sites that you can't use the 'md5 a single password against the site's domain name' trick because they limit password length to 8 or 16 characters (as if they are some sort of 'accepted industry standard').

Re:Ask HN: Review my App - Freeciv.net by durin42 on Saturday December 19, 2009 @11:33PM (#1005731)
I like that idea of using some sort of standard hash and password pairing along with the domain to come up with a password that's site-unique. Is that original, or taken from somewhere?

Have you considered using base64 or some other encoding to shorten the string?

Re:Ask HN: Review my App - Freeciv.net by pyre on Sunday December 20, 2009 @03:53PM (#1006559)
Maybe I'm misunderstanding, but the string will already be Base64 if it's human readable (I'm not trying to use character 254 as part of my password) and base64 encoding actually grows the data you are encoding (since you are breaking some bytes down into two bytes to make them both human readable).

The problem being length. Human-readable (ascii-armored/whatever) hashes (md5/sha-1/sha-256) have standard lengths which are usually longer than the maximum size of the password fields.

Re:Ask HN: Review my App - Freeciv.net by durin42 on Monday December 21, 2009 @11:32AM (#1008074)
I was assuming he was using the hex digest of the hash. You have to use some kind of ascii armoring, and base64 seemed like one that'd be reasonably safe.
Re:Ask HN: Review my App - Freeciv.net by janzer on Sunday December 20, 2009 @12:11AM (#1005765)
I've used the extension from passwordmaker.org for quite some time. It implements this basic idea quite nicely.
Re:Ask HN: Review my App - Freeciv.net by crux_ on Sunday December 20, 2009 @11:22AM (#1006260)
Besides passwordmaker there's also the PwdHash firefox extension; I've been using that one for a while.