Skip to content

[deps]: Update gh minor (#178) #94

[deps]: Update gh minor (#178)

[deps]: Update gh minor (#178) #94

GitHub Actions / Test Results succeeded Sep 24, 2024 in 1s

24 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test/KeyConnector.Tests/TestResults/test-results.trx

24 tests were completed in 4s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
KeyConnector.Tests.Services.Pkcs11RsaKeyServiceTests 23✅ 398ms
KeyConnector.Tests.ThrowawayTests 1✅ 5ms

✅ KeyConnector.Tests.Services.Pkcs11RsaKeyServiceTests

✅ DecryptAsync_ChoosesCorrectSlot_GivenASlotSerialNumber
✅ DecryptAsync_LogsOutOfSession_GivenValidData
✅ DecryptAsync_ReturnsDecryptedData
✅ DecryptAsync_ReturnsNull_GivenNullData
✅ DecryptAsync_ThrowsException_WhenSlotHasNoTokenPresent
✅ DecryptAsync_UsesCorrectProviderPath_WhenLoadingLibrary(provider: "opensc", path: "/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so")
✅ DecryptAsync_UsesCorrectProviderPath_WhenLoadingLibrary(provider: "yubihsm", path: "/usr/lib/x86_64-linux-gnu/pkcs11/yubihsm_pkcs11.so")
✅ DecryptAsync_UsesCorrectUserType_GivenInSettings(userTypeSetting: "context_specific", expectedUserType: CKU_CONTEXT_SPECIFIC)
✅ DecryptAsync_UsesCorrectUserType_GivenInSettings(userTypeSetting: "so", expectedUserType: CKU_SO)
✅ DecryptAsync_UsesCorrectUserType_GivenInSettings(userTypeSetting: null, expectedUserType: CKU_USER)
✅ DecryptAsync_UsesPrivateKeyId_IfAvailableInSettings(id: 123, expectedType: CKA_ID)
✅ DecryptAsync_UsesPrivateKeyId_IfAvailableInSettings(id: null, expectedType: CKA_LABEL)
✅ EncryptAsync_ReturnsEncryptedData
✅ EncryptAsync_ReturnsNull_GivenNullData
✅ SignAsync_ChoosesCorrectSlot_GivenASlotSerialNumber
✅ SignAsync_LogsOutOfSession_GivenValidData
✅ SignAsync_ReturnsNull_GivenNullData
✅ SignAsync_ReturnsSignature
✅ SignAsync_ThrowsException_WhenSlotHasNoTokenPresent
✅ SignAsync_UsesCorrectProviderPath_WhenLoadingLibrary(provider: "opensc", path: "/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so")
✅ SignAsync_UsesCorrectProviderPath_WhenLoadingLibrary(provider: "yubihsm", path: "/usr/lib/x86_64-linux-gnu/pkcs11/yubihsm_pkcs11.so")
✅ SignAsync_UsesPrivateKeyId_IfAvailableInSettings(id: 123, expectedType: CKA_ID)
✅ SignAsync_UsesPrivateKeyId_IfAvailableInSettings(id: null, expectedType: CKA_LABEL)

✅ KeyConnector.Tests.ThrowawayTests

✅ ThrowawayTests_TestNonsense