hotsh / rstat.us

Simple microblogging network based on the ostatus protocol.
http://rstat.us/
Other
722 stars 215 forks source link

use SecureRandom to generate tokens and secrets #697

Closed lest closed 11 years ago

lest commented 11 years ago

@wilkie wdyt?

wilkie commented 11 years ago

I thought long and hard about race conditions with the merge. Seems fine. Most of these tokens aren't incredibly important, but entropy is good for password reset token.