Skip to content

Conversation

@rayokota
Copy link
Member

@rayokota rayokota commented Nov 27, 2025

What

This PR ensures all dependencies are strongly named (which is required by .NET Framework) by vendoring (copying) the source for two NuGet packages (Miscreant and HKDF.Standard) that lack strong naming.

Checklist

  • [N] Contains customer facing changes? Including API/behavior changes
  • [Y] Did you add sufficient unit test and/or integration test coverage for this PR?
    • Covered by existing tests

References

JIRA:

Test & Review

Open questions / Follow-ups

Copilot AI review requested due to automatic review settings November 27, 2025 01:00
@rayokota rayokota requested review from a team as code owners November 27, 2025 01:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR ensures all dependencies are strongly named by vendoring two NuGet packages (Miscreant and HKDF.Standard) that lack strong naming, and updates Cel.NET from version 0.4.0 to 1.0.0. This addresses strong naming requirements for the Confluent.SchemaRegistry.Encryption assembly.

Key changes:

  • Vendored Miscreant v0.3.3 and HKDF.Standard v2.0.0 source code with namespace changes
  • Updated namespace references throughout the codebase to use vendored versions
  • Upgraded Cel.NET package dependency to version 1.0.0

Reviewed changes

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

Show a summary per file
File Description
Confluent.SchemaRegistry.Rules.csproj Updated Cel.NET package from 0.4.0 to 1.0.0
Vendored/README.md Added documentation explaining vendored dependencies and modifications
Vendored/Miscreant/*.cs Vendored Miscreant library source with namespace changes
Vendored/HkdfStandard/Hkdf.cs Simplified vendored HKDF implementation
Vendored//LICENSE MIT license files for vendored dependencies
LocalKmsClient.cs Updated namespace import to vendored HkdfStandard
KmsClients.cs Updated namespace import to vendored Miscreant
Cryptor.cs Updated namespace import to vendored Miscreant
Confluent.SchemaRegistry.Encryption.csproj Removed NuGet references and added license file packaging

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

@sonarqube-confluent
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
51.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

@rayokota rayokota merged commit 95654bd into master Dec 1, 2025
2 of 3 checks passed
@rayokota rayokota deleted the DGS-22964 branch December 1, 2025 17:46
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.

3 participants