Does `secret` have any specific properties which influence the security of the HOTP algorithm?

Should it be cryptographically random?  Does it have a minimum size?