Skip to content

Commit 68bf4df

Browse files
tgonzalezorlandoarmgowthamsk-arm
authored andcommitted
e2e_tests: Ignore different key test for RSA in pkcs11
When trying to update the docker image parsec-service-test-all, the asym_encrypt_decrypt_rsa_pkcs_different_keys test fails for the PKCS11 provider. This is due to an issue in SoftHSMv2. See #761 for more information. Signed-off-by: Tomás González <[email protected]>
1 parent 519434f commit 68bf4df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

e2e_tests/tests/per_provider/normal_tests/asym_encryption.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,12 @@ fn asym_encrypt_and_decrypt_rsa_pkcs() {
246246
assert_eq!(PLAINTEXT_MESSAGE.to_vec(), plaintext);
247247
}
248248

249+
// TODO: Remove ignore if issue gets resolved upstream
250+
// Test is ignored for PKCS11 because the library we use for testing currently breaks for new
251+
// Docker builds
252+
// See: https://github.com/parallaxsecond/parsec/issues/761
249253
#[test]
254+
#[cfg(not(any(feature = "pkcs11-provider")))]
250255
fn asym_encrypt_decrypt_rsa_pkcs_different_keys() {
251256
let key_name_1 = auto_test_keyname!("1");
252257
let key_name_2 = auto_test_keyname!("2");

0 commit comments

Comments
 (0)