Skip to content

Commit

Permalink
Merge pull request #26 from bchurchill/main
Browse files Browse the repository at this point in the history
Fix for issue #25
  • Loading branch information
leechristensen authored Jan 27, 2023
2 parents 48ef2b4 + a0315df commit fb297ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Certify/Commands/Find.cs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ private bool IsCertificateTemplateVulnerable(CertificateTemplate template, List<
|| !template.ExtendedKeyUsage.Any() // No EKUs == Any Purpose
|| template.ExtendedKeyUsage.Contains(CommonOids.AnyPurpose)
|| template.ExtendedKeyUsage.Contains(CommonOids.CertificateRequestAgent)
|| template.ApplicationPolicies.Contains(CommonOids.CertificateRequestAgentPolicy);
|| (template.ApplicationPolicies != null && template.ApplicationPolicies.Contains(CommonOids.CertificateRequestAgentPolicy));

if (lowPrivilegedUsersCanEnroll && hasDangerousEku) return true;

Expand Down

0 comments on commit fb297ad

Please sign in to comment.