I'm trying to re-purpose the password policy generator as a unique index value generator. In doing that I built a password policy that required a minimum of seven characters and a maximum of seven characters. However, when called from policy a NMAS error indicating an invalid password policy is returned. (16022) Changing the maximum characters value to 8 resolved the issue.

It would seem that the password policy should allow a min =7 and max = 7 in order to guarantee exactly 7 characters. I know this is generally a bad idea for a password, but that doesn't really apply here. Did I stumble on a bug? I imagine not too many people request exact character count passwords