Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[deps]: Update MongoDB.Driver to v3 #189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

[deps]: Update MongoDB.Driver to v3

aed1a5e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

[deps]: Update MongoDB.Driver to v3 #189

[deps]: Update MongoDB.Driver to v3
aed1a5e
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results succeeded Dec 5, 2024 in 0s

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βœ… 359ms
KeyConnector.Tests.ThrowawayTests 1βœ… 4ms

βœ…Β 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