Hacker News new | ask | show | jobs
by lakomen 775 days ago
Just yesterday I generated a 64 char length mysql password, which had \ and ` and '. I couldn't properly escape it, to pass via argv, so I had to truncate it and remove all those symbols.

So I thought, how can this problem be solved? IMHO by doing a hex representation 0x00-0xFF per char. That would also increase entropy.

MySQL and other databases would need to support hex input of passwords, also setting of hex passwords via SQL.

1 comments

MySQL at least should support that last bit (it has hex strings, and passwords are set with strings using SQL), but not the first as far as I know.