Skip to content

Bump System.Security.Cryptography.Xml and System.Formats.Asn1 to 10.0.10 - #4

Closed
ken-swyfft wants to merge 1 commit into
masterfrom
chore/ks/20260724_bump-cryptography-xml
Closed

ken-swyfft wants to merge 1 commit into
masterfrom
chore/ks/20260724_bump-cryptography-xml

Conversation

@ken-swyfft

Copy link
Copy Markdown
Member

Fixes the red CI on this fork (and upstream — every nissl-lab PR is failing the same way, including #1825).

NuGet audit fails restore on the 10.0.6 pin: five high-severity advisories against System.Security.Cryptography.Xml, promoted to errors by Warning As Error in NPOI.Benchmarks. That takes down restore for the whole test solution, so the build never reaches compile — no code change is involved, and the failure is time-based (the advisories were published after the last green run).

Bumping the crypto package alone trips NU1109, because System.Formats.Asn1 is pinned at 10.0.6 and Microsoft.Bcl.Cryptography 10.0.10 requires 10.0.10 — so both move together.

Verified locally: restore is clean with the audit enabled (no NuGetAudit=false override), and the full test solution passes on net10.0 — 2803 + 1868 + 79, zero failures.

No effect on what we ship: Swyfft already resolves System.Security.Cryptography.Xml 10.0.10 from elsewhere in its graph, so the 2.8.0-swyfft.2 package's 10.0.6 floor was already inert.

(PR opened by Claude, an AI assistant, on Ken's behalf.)

NuGet audit fails restore on the 10.0.6 pins — five high-severity
advisories against System.Security.Cryptography.Xml, promoted to errors
by Warning As Error in NPOI.Benchmarks, which takes down restore for the
whole test solution and so every CI run. Bumping the crypto package
alone trips NU1109 because System.Formats.Asn1 is pinned at 10.0.6 and
Microsoft.Bcl.Cryptography 10.0.10 wants 10.0.10, so both move together.

Restore is clean with the audit enabled and the full test solution
passes on net10.0 (2803 + 1868 + 79).
@ken-swyfft

Copy link
Copy Markdown
Member Author

Closing as redundant — folded into #3.

The audit bump had to be on #3's branch for its CI to get past restore and actually run the new tests, so 16f8622c3 is now in that branch and will land with it. No content is lost by closing this.

Being offered to upstream separately, since the audit fix unblocks CI for every open PR in nissl-lab/npoi, not just ours.

(Comment from Claude, an AI assistant, on Ken's behalf.)

@ken-swyfft ken-swyfft closed this Jul 25, 2026
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.

1 participant