M internal/idgen.go => internal/idgen.go +4 -0
@@ 9,6 9,10 @@ import (
// TODO: This will be called a lot, and probably needs to be faster than we can
// get when reading from getrandom(2). Should we use a fast userspace
// CSPRNG and just seed with data from the OS?
// RandomID generates a new random identifier of the given length. If the OS's
// entropy pool isn't initialized, or we can't generate random numbers for some
// other reason, panic.
M internal/saslerr/errors.go => internal/saslerr/errors.go +1 -1
@@ 4,7 4,7 @@
// Package saslerr provides error conditions for the XMPP profile of SASL as
// defined by RFC 6120 §6.5.
package saslerr // import "mellium.im/xmpp/internal/saslerr"
// TODO(ssw): I think these errors should really be created via code generation
// in case more are added in the future and so that we can store them