Update certificate validation to use custom trust store for .NET 5.0+ #2039
Triggered via pull request
August 27, 2025 07:44
Status
Success
Total duration
1h 18m 42s
Artifacts
–
Annotations
10 warnings
Analyze (csharp):
tests/KubernetesClient.Tests/AuthTests.cs#L194
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/AuthTests.cs#L191
'X509Certificate2.X509Certificate2(byte[], string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertUtilsTests.cs#L89
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertUtilsTests.cs#L88
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L112
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L83
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Tests/CertificateValidationTests.cs#L70
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
|
Analyze (csharp):
tests/KubernetesClient.Classic.Tests/SimpleTests.cs#L34
Avoid inexact read with 'System.Net.Sockets.NetworkStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022)
|
Analyze (csharp):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|
Analyze (csharp):
src/KubernetesClient/Kubernetes.ConfigInit.cs#L223
Unreachable code detected
|