-
Notifications
You must be signed in to change notification settings - Fork 0
Ab#70161 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ab#70161 #12
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,10 +11,17 @@ on: | |
|
|
||
| jobs: | ||
| call-starter-workflow: | ||
| uses: keyfactor/actions/.github/workflows/[email protected] | ||
| uses: keyfactor/actions/.github/workflows/starter.yml@v4 | ||
| with: | ||
| command_token_url: ${{ vars.COMMAND_TOKEN_URL }} # Only required for doctool generated screenshots | ||
| command_hostname: ${{ vars.COMMAND_HOSTNAME }} # Only required for doctool generated screenshots | ||
| command_base_api_path: ${{ vars.COMMAND_API_PATH }} # Only required for doctool generated screenshots | ||
| secrets: | ||
| token: ${{ secrets.V2BUILDTOKEN}} | ||
| APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}} | ||
| gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }} | ||
| gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }} | ||
| scan_token: ${{ secrets.SAST_TOKEN }} | ||
| token: ${{ secrets.V2BUILDTOKEN}} # REQUIRED | ||
| gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }} # Only required for golang builds | ||
| gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }} # Only required for golang builds | ||
| scan_token: ${{ secrets.SAST_TOKEN }} # REQUIRED | ||
| entra_username: ${{ secrets.DOCTOOL_ENTRA_USERNAME }} # Only required for doctool generated screenshots | ||
| entra_password: ${{ secrets.DOCTOOL_ENTRA_PASSWD }} # Only required for doctool generated screenshots | ||
| command_client_id: ${{ secrets.COMMAND_CLIENT_ID }} # Only required for doctool generated screenshots | ||
| command_client_secret: ${{ secrets.COMMAND_CLIENT_SECRET }} # Only required for doctool generated screenshots | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -7,6 +7,7 @@ | |||||
|
|
||||||
| using System; | ||||||
| using System.Collections.Generic; | ||||||
| using System.Net.NetworkInformation; | ||||||
|
||||||
| using System.Security.Cryptography.X509Certificates; | ||||||
|
|
||||||
| using Keyfactor.Logging; | ||||||
|
|
@@ -19,6 +20,8 @@ | |||||
| using Newtonsoft.Json; | ||||||
| using Org.BouncyCastle.X509; | ||||||
| using System.Text; | ||||||
| using Microsoft.Win32.SafeHandles; | ||||||
| using static Org.BouncyCastle.Math.EC.ECCurve; | ||||||
|
|
||||||
|
Comment on lines
+23
to
25
|
||||||
| using Microsoft.Win32.SafeHandles; | |
| using static Org.BouncyCastle.Math.EC.ECCurve; |
Copilot
AI
Nov 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String concatenation in a loop is inefficient. Consider using StringBuilder for better performance when building the sans string, especially since SANs can potentially have multiple entries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The package reference
Keyfactor.Orchestrators.IOrchestratorJobExtensionsis duplicated - it appears both as a PackageReference on line 12 and as a Reference with HintPath on lines 17-19. Remove the duplicate Reference to avoid potential conflicts.