Skip to content

Commit b696dde

Browse files
committed
test: Skip broken ones in Kryoptic for now
Signed-off-by: Jakub Jelen <[email protected]>
1 parent a225cf8 commit b696dde

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cryptoki/tests/basic.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,11 @@ fn encrypt_decrypt() -> TestResult {
268268
#[test]
269269
#[serial]
270270
fn derive_key() -> TestResult {
271+
/* FIXME: This is now broken in Kryoptic: https://github.com/latchset/kryoptic/issues/184 */
272+
if !is_softhsm() {
273+
/* return Ignore(); */
274+
return Ok(());
275+
}
271276
let (pkcs11, slot) = init_pins();
272277

273278
// open a session
@@ -566,6 +571,12 @@ fn session_objecthandle_iterator() -> testresult::TestResult {
566571
#[test]
567572
#[serial]
568573
fn wrap_and_unwrap_key() {
574+
/* FIXME: This is now broken in Kryoptic: https://github.com/latchset/kryoptic/issues/184 */
575+
if !is_softhsm() {
576+
/* return Ignore(); */
577+
return;
578+
}
579+
569580
let (pkcs11, slot) = init_pins();
570581
// open a session
571582
let session = pkcs11.open_rw_session(slot).unwrap();
@@ -996,6 +1007,11 @@ fn test_clone_initialize() {
9961007
#[test]
9971008
#[serial]
9981009
fn aes_key_attributes_test() -> TestResult {
1010+
/* FIXME: This is now broken in Kryoptic: https://github.com/latchset/kryoptic/issues/182 */
1011+
if !is_softhsm() {
1012+
/* return Ignore(); */
1013+
return Ok(());
1014+
}
9991015
let (pkcs11, slot) = init_pins();
10001016

10011017
// open a session

0 commit comments

Comments
 (0)