14.3. Password Policy Supplemental duplicate entry? #268

Closed
opened 2026-01-19 18:29:53 +00:00 by michael · 0 comments
Owner

Originally created by @reuven-cohen on GitHub.

Summary

When creating a variation on the Password Policy for deployment, I found that one of the entries appears to be a duplicate

See XML entry in 14.3. Password Policy Supplemental to find the entries below.

Example

<dict>
<key>policyContent</key>
<string>policyAttributePassword matches '(.*[A-Z].*){1,}+'</string>
<key>policyIdentifier</key>
<string>Must have at least 1 uppercase letter</string>
<key>policyParameters</key>
<dict>
<key>minimumAlphaCharactersUpperCase</key>
<integer>1</integer>
</dict>

<dict>
<key>policyContent</key>
<string>policyAttributePassword matches '(.*[A-Z].*){1,}+'</string>
<key>policyIdentifier</key>
<string>Must have at least 1 uppercase letter</string>
<key>policyParameters</key>
<dict>
<key>minimumAlphaCharacters</key>
<integer>1</integer>
</dict>
</dict>

Suggested Fix

<dict>
<key>policyContent</key>
<string>policyAttributePassword matches '(.*[A-Za-z].*){1,}+'</string>
<key>policyIdentifier</key>
<string>Must have at least 1 Letter</string>
<key>policyParameters</key>
<dict>
<key>minimumAlphaCharacters</key>
<integer>1</integer>
</dict>
</dict>

Originally created by @reuven-cohen on GitHub. ### Summary When creating a variation on the Password Policy for deployment, I found that one of the entries appears to be a duplicate See XML entry in 14.3. Password Policy Supplemental to find the entries below. ### Example `<dict>` `<key>policyContent</key>` `<string>policyAttributePassword matches '(.*[A-Z].*){1,}+'</string>` `<key>policyIdentifier</key>` `<string>Must have at least 1 uppercase letter</string>` `<key>policyParameters</key>` `<dict>` `<key>minimumAlphaCharactersUpperCase</key>` `<integer>1</integer>` `</dict>` `<dict>` `<key>policyContent</key>` `<string>policyAttributePassword matches '(.*[A-Z].*){1,}+'</string>` `<key>policyIdentifier</key>` `<string>Must have at least 1 uppercase letter</string>` `<key>policyParameters</key>` `<dict>` `<key>minimumAlphaCharacters</key>` `<integer>1</integer>` `</dict>` `</dict>` ### Suggested Fix `<dict>` `<key>policyContent</key>` `<string>policyAttributePassword matches '(.*[A-Za-z].*){1,}+'</string>` `<key>policyIdentifier</key>` `<string>Must have at least 1 Letter</string>` `<key>policyParameters</key>` `<dict>` `<key>minimumAlphaCharacters</key>` `<integer>1</integer>` `</dict>` `</dict>`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: usnistgov/macos_security#268