Skip to content

unit tests for new Encode() SDK #396

unit tests for new Encode() SDK

unit tests for new Encode() SDK #396

Triggered via push February 26, 2026 17:16
Status Failure
Total duration 3m 27s
Artifacts

build-test.yml

on: push
Matrix: Build and test .NET Framework
Matrix: Build and test .NET Core
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 68 warnings
Build and test .NET Framework (net40)
Process completed with exit code 1.
Build and test .NET Framework (net47)
Process completed with exit code 1.
Build and test .NET Framework (net47)
Process completed with exit code 1.
Build and test .NET Framework (net46)
Process completed with exit code 1.
Build and test .NET Framework (net46)
Process completed with exit code 1.
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L47
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L54
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/ConcatKDF.cs#L15
This call site is reachable on all platforms. 'ECDiffieHellmanCng' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L29
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L41
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L31
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L13
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/ConcatKDF.cs#L17
This call site is reachable on all platforms. 'ECDiffieHellmanCng.DeriveSecretAgreementHandle(CngKey)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L34
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-latest, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaPss.cs#L29
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/ConcatKDF.cs#L17
This call site is reachable on all platforms. 'ECDiffieHellmanCng.DeriveSecretAgreementHandle(CngKey)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L14
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L11
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L31
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L34
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/ConcatKDF.cs#L15
This call site is reachable on all platforms. 'ECDiffieHellmanCng' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L41
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0): jose-jwt/crypto/RsaOaep.cs#L21
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (ubuntu-22.04, netcoreapp3.1): UnitTests/jwk/JwkTest.cs#L518
Do not use Assert.NotNull() on value type 'RSAParameters'. (https://xunit.github.io/xunit.analyzers/rules/xUnit2002)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuite.cs#L1921
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, netcoreapp3.1): UnitTests/jwk/JwkTest.cs#L436
Do not use Assert.NotNull() on value type 'RSAParameters'. (https://xunit.github.io/xunit.analyzers/rules/xUnit2002)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuite.cs#L1972
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/jwk/JwkSetTest.cs#L203
Do not use Assert.Equal() to check for collection size. (https://xunit.github.io/xunit.analyzers/rules/xUnit2013)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/ConcatKDFTest.cs#L35
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/ConcatKDFTest.cs#L36
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuiteEcdhUtils.cs#L47
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, netcoreapp3.1): UnitTests/jwk/JwkSetTest.cs#L203
Do not use Assert.Equal() to check for collection size. (https://xunit.github.io/xunit.analyzers/rules/xUnit2013)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuiteEcdhUtils.cs#L64
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, netcoreapp3.1)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuiteCngKeyUtils.cs#L42
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net5.0): UnitTests/TestSuiteCngKeyUtils.cs#L93
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (ubuntu-22.04, net5.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L21
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L29
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L13
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L34
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L31
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L41
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L11
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L21
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L14
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (macos-latest, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (windows-latest, netcoreapp3.1): UnitTests/jwk/JwkTest.cs#L436
Do not use Assert.NotNull() on value type 'RSAParameters'. (https://xunit.github.io/xunit.analyzers/rules/xUnit2002)
Build and test .NET Core (windows-latest, netcoreapp3.1): UnitTests/jwk/JwkTest.cs#L518
Do not use Assert.NotNull() on value type 'RSAParameters'. (https://xunit.github.io/xunit.analyzers/rules/xUnit2002)
Build and test .NET Core (windows-latest, netcoreapp3.1): UnitTests/jwk/JwkSetTest.cs#L203
Do not use Assert.Equal() to check for collection size. (https://xunit.github.io/xunit.analyzers/rules/xUnit2013)
Build and test .NET Core (windows-latest, netcoreapp3.1)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuite.cs#L2082
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuite.cs#L2031
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuite.cs#L1921
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/ConcatKDFTest.cs#L35
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/ConcatKDFTest.cs#L36
This call site is reachable on all platforms. 'CngKeyUsages.KeyAgreement' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuiteEcdhUtils.cs#L47
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuiteEcdhUtils.cs#L64
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuiteCngKeyUtils.cs#L93
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0): UnitTests/TestSuiteCngKeyUtils.cs#L42
This call site is reachable on all platforms. 'CngKeyUsages.Signing' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net5.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaPss.cs#L29
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/ConcatKDF.cs#L15
This call site is reachable on all platforms. 'ECDiffieHellmanCng' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/ConcatKDF.cs#L17
This call site is reachable on all platforms. 'ECDiffieHellmanCng.DeriveSecretAgreementHandle(CngKey)' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L41
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L11
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L14
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L31
This call site is reachable on all platforms. 'CngAlgorithm.Algorithm' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L21
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0): jose-jwt/crypto/RsaOaep.cs#L34
This call site is reachable on all platforms. 'CngKey.Handle' is only supported on: 'windows'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build and test .NET Core (windows-latest, net8.0)
Targeting .NET Standard prior to 2.0 is no longer recommended. See https://aka.ms/dotnet/dotnet-standard-guidance for more details.