Skip to content

Commit

Permalink
e2e_tests: Ignore different key test for RSA in pkcs11
Browse files Browse the repository at this point in the history
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 <tomasagustin.gonzalezorlando@arm.com>
  • Loading branch information
tgonzalezorlandoarm authored and gowthamsk-arm committed May 14, 2024
1 parent 519434f commit 68bf4df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions e2e_tests/tests/per_provider/normal_tests/asym_encryption.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,12 @@ fn asym_encrypt_and_decrypt_rsa_pkcs() {
assert_eq!(PLAINTEXT_MESSAGE.to_vec(), plaintext);
}

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

0 comments on commit 68bf4df

Please sign in to comment.