Commit 507325f
committed
build(deps): bump BouncyCastle.Cryptography 2.0.0 -> 2.6.2, drop redundant prune-flagged refs
NU1902 — Keyfactor.PKI 5.5.0 brings in BouncyCastle.Cryptography 2.0.0
transitively, which carries three known-moderate CVEs:
* GHSA-8xfc-gm6g-vgpv (DH timing attack)
* GHSA-m44j-cfrm-g8qc (Pkcs5S2ParametersGenerator weakness)
* GHSA-v435-xc8x-wvr9 (X.509 cert verification bypass)
All three are fixed in 2.4.0+; bump to the current stable 2.6.2 on both
the main plugin csproj (explicit override of the transitive) and the
integration tests csproj (which has a direct ref).
NU1510 — System.Text.Json and System.Text.Encodings.Web were pinned
explicit PackageReferences. Both .NET 8/10 SDKs now flag them as
unnecessary because they're bundled or provided transitively in a form
that satisfies our usage; removed both refs from CERTInext.csproj.
Build + 146/146 unit tests still pass after the removal, so no real
dependency was being satisfied by those direct refs.
Verified live: Ping/GetProductDetails/ListOrders all PASS against the
sandbox after the bump — the new BouncyCastle 2.6.2 SHA-256 path still
produces a valid authKey.
Remaining warnings after this commit (deferred for separate triage):
seven CS8602/CS8604 nullable-deref warnings in test code only — all
sit behind FluentAssertions .Should().NotBeNull() guards, so they
won't actually NRE at runtime. Worth a follow-up to add `!`
suppressions but not a blocker.1 parent 63ed82f commit 507325f
2 files changed
Lines changed: 5 additions & 3 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | | - | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
0 commit comments