pub fn password_chars_legal(s: &str) -> Result<()>
print
prompt
Check if the password contains all “legal” characters (and is non-empty)