rand.Text() was recently added to the std lib, you could prolly replace randomString with just that one call and also not deal with any security of that anymore.
Only downside is that there is no way to specify a length, but we may not care.
Should I send a PR?
side note: this bumps the required Go version to a fairly new one, not sure if that is on the cards