Skip to content
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

Update CMS Version to 1 for CodeSigningCIPolicySigning #26993

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

TechyDhaval
Copy link
Contributor

@TechyDhaval TechyDhaval commented Jan 9, 2025

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • For SDK-based development mode, update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • For autorest-based development mode, include the changelog in the PR description.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copy link

azure-client-tools-bot-prd bot commented Jan 9, 2025

️✔️Az.Accounts
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Az.CodeSigning
️✔️Build
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows
️✔️Windows PowerShell - Windows
⚠️Test
⚠️ - Linux
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00 % Test coverage for the module cannot be lower than 50%.
⚠️ - MacOS
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.
⚠️PowerShell Core - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.
⚠️Windows PowerShell - Windows
Type Title Current Coverage Description
⚠️ Test Coverage Less Than 50% 0.00% Test coverage for the module cannot be lower than 50%.

Copy link
Contributor

Thank you for your contribution TechyDhaval! We will review the pull request and get back to you soon.

@TechyDhaval TechyDhaval force-pushed the dhjoshi/CMSVersionUpdate branch from 7ff9b7d to a483492 Compare January 15, 2025 01:42
@Jaxelr
Copy link
Member

Jaxelr commented Jan 15, 2025

@TechyDhaval LGTM.

Copy link
Contributor Author

@TechyDhaval TechyDhaval left a comment

Choose a reason for hiding this comment

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

We want to use CMSVersion to 1 always for PKCS7 signing.

@TechyDhaval TechyDhaval marked this pull request as ready for review February 4, 2025 17:29
@Alex-AZPS Alex-AZPS requested a review from YanaXu February 4, 2025 17:48
@Alex-AZPS
Copy link

LGTM

@YanaXu
Copy link
Contributor

YanaXu commented Feb 5, 2025

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@YanaXu
Copy link
Contributor

YanaXu commented Feb 5, 2025

Hi @TechyDhaval, please update src/CodeSigning/CodeSigning/ChangeLog.md.
Please add tests. If tests can't be recorded, please provide your screenshot of tests.

Copy link

github-actions bot commented Feb 5, 2025

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@TechyDhaval
Copy link
Contributor Author

image

here is the testing results. We need to parse ASN.1 to verify the result. We have tried different sizes ci policy file for signing and tested it with Azure VM

@NoriZC
Copy link
Contributor

NoriZC commented Feb 6, 2025

/azp run

@NoriZC NoriZC self-assigned this Feb 6, 2025
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@NoriZC NoriZC merged commit e1d940a into Azure:main Feb 6, 2025
12 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 6, 2025
* Update CMS Version to 1 for CodeSigningCIPolicySigning

* Set CMSVersion to 1 always

* updated release notes

---------

Co-authored-by: dhjoshi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants