Skip to content

Commit b192af7

Browse files
Skipped test for C_DigestKey when not running using SoftHSM, for now
Signed-off-by: Jacob Prud'homme <2160185+jacobprudhomme@users.noreply.github.com>
1 parent 7282d98 commit b192af7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

cryptoki/tests/basic.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,9 +1671,12 @@ fn sha256_digest_multipart() -> TestResult {
16711671

16721672
#[test]
16731673
#[serial]
1674-
// Not all backends support extracting a secret key value, needed to validate this test
1675-
#[ignore]
16761674
fn sha256_digest_multipart_with_key() -> TestResult {
1675+
// FIXME: Getting value from sensitive objects is now broken in Kryoptic: https://github.com/latchset/kryoptic/issues/193
1676+
if !is_softhsm() {
1677+
return Ok(());
1678+
}
1679+
16771680
let (pkcs11, slot) = init_pins();
16781681

16791682
// Open a session and log in

0 commit comments

Comments
 (0)