iamtakingiteasy about 16 years ago What is actual password salt? In api documentation said that it is "choujin-steiner--your-password--", but `read password; echo "choujin-steiner--${password}--" | sha1sum` gives different hash then in the cookie. Updated about 16 years ago Reply Copy ID Copy Link
evazion about 16 years ago That's the correct salt. Your problem is that echo is automatically appending a newline to its output. Try this:echo -n "choujin-steiner--${password}--" | sha1sum Reply Copy ID Copy Link
iamtakingiteasy about 16 years ago Thanks, didn't thinked about this thing. Seems like '<<<' bash operator adds newline too. Reply Copy ID Copy Link