You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.
We should just move to reading 44 bytes from crypto/rand Reader and be done with it. This gives us a cryptographically secure random number generator, even on mobile.
The text was updated successfully, but these errors were encountered:
Ah yeah, duh... relic from lazily wanting a pre-utf8 compatible AES key. We can just base58 encode the random bytes when we need it as a string for URL parameters.
sanderpick
changed the title
Switch to crypto random bytes (crypto/rand Reader) for AES-GSM keys
Remove time component from for AES-GSM keys
Oct 24, 2018
This was a pretty silly way to avoid dealing with string encoding. Of course, I didn't come back and
fix it until after someone else noticed ;) With this change plus the thread encryption updates in
05a269c, we'd be ready for an actual security review.
fixes#326
We should just move to reading 44 bytes from crypto/rand Reader and be done with it. This gives us a cryptographically secure random number generator, even on mobile.
The text was updated successfully, but these errors were encountered: