Skip to content

Merge to main#53

Open
indrora wants to merge 36 commits into
mainfrom
dev-2.3
Open

Merge to main#53
indrora wants to merge 36 commits into
mainfrom
dev-2.3

Conversation

@indrora

@indrora indrora commented Jun 11, 2026

Copy link
Copy Markdown
Member

Merge dev-2.3 to main - Automated PR

dgaley and others added 30 commits October 8, 2025 11:29
change default start sync date for first incremental sync
removing caching of product type list
change default incremental sync range
shorten incremental sync if it is too long
* add duplicate support

* Update generated docs

---------

Co-authored-by: Keyfactor <keyfactor@keyfactor.github.io>
treat needs_approval the same as pending on enrollments and don't ret…
* add duplicate support

* Update generated docs

* treat needs_approval the same as pending on enrollments and don't return failure code

* Update generated docs

---------

Co-authored-by: Keyfactor <keyfactor@keyfactor.github.io>
Copilot AI review requested due to automatic review settings June 11, 2026 09:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated merge of dev-2.3 into main, primarily adding a new template parameter to request the KDC/SmartCardLogon EKU for SSL enrollments and updating related documentation/metadata.

Changes:

  • Add IncludeKDCSmartCardLogonEKU template parameter and map it to DigiCert profile option kdc_smart_card, with mutual-exclusion enforcement vs IncludeClientAuthEKU.
  • Update planned deprecation date messaging for IncludeClientAuthEKU (May 2026 → March 2027).
  • Document the new option in README, integration manifest, and changelog.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
README.md Documents new IncludeKDCSmartCardLogonEKU parameter and updates EKU deprecation date text.
integration-manifest.json Exposes new enrollment config field and updates EKU deprecation date text.
digicert-certcentral-caplugin/Constants.cs Adds constant key for IncludeKDCSmartCardLogonEKU.
digicert-certcentral-caplugin/CertCentralCAPlugin.cs Implements EKU profile option selection, validation updates, and adds parameter annotations.
CHANGELOG.md Adds 2.3.0 entry describing the new EKU flag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +304 to +309
bool clientAuth = Convert.ToBoolean(productInfo.ProductParameters[CertCentralConstants.Config.INCLUDE_CLIENT_AUTH]);
bool kdc = Convert.ToBoolean(productInfo.ProductParameters[CertCentralConstants.Config.INCLUDE_KDC]);
if (clientAuth && kdc)
{
throw new Exception($"Cannot enroll for cert with both Client Auth and KDC/SmartCardLogon EKU set to 'true'");
}
Comment on lines 1090 to 1094
detailsRequest.ContainerId = null;
if (connectionInfo.ContainsKey(CertCentralConstants.Config.DIVISION_ID))
if (productInfo.ProductParameters.ContainsKey(CertCentralConstants.Config.ENROLL_DIVISION_ID))
{
string div = connectionInfo[CertCentralConstants.Config.DIVISION_ID].ToString();
string div = productInfo.ProductParameters[CertCentralConstants.Config.ENROLL_DIVISION_ID].ToString();
if (!string.IsNullOrWhiteSpace(div))
Comment on lines +1125 to +1133
bool clientAuth = false, kdc = false;
if (productInfo.ProductParameters.ContainsKey(CertCentralConstants.Config.INCLUDE_CLIENT_AUTH))
{
clientAuth = Convert.ToBoolean(productInfo.ProductParameters[CertCentralConstants.Config.INCLUDE_CLIENT_AUTH]);
}
if (productInfo.ProductParameters.ContainsKey(CertCentralConstants.Config.INCLUDE_KDC))
{
kdc = Convert.ToBoolean(productInfo.ProductParameters[CertCentralConstants.Config.INCLUDE_KDC]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants