Skip to content

Commit e55a7a2

Browse files
Un-xfail two wrapping tests for opencryptoki
Commit opencryptoki/opencryptoki@10f48c5 allows CKA_EXTRACTABLE and CKA_SENSITIVE to be set on unwrap, causing these tests to no longer fail.
1 parent 7e82ff4 commit e55a7a2

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_aes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ def test_sign_stream(self):
179179
self.assertTrue(self.key.verify(data, signature))
180180

181181
@requires(Mechanism.AES_KEY_WRAP)
182-
@FIXME.opencryptoki # can't set key attributes
183182
def test_wrap(self):
184183
key = self.session.generate_key(
185184
pkcs11.KeyType.AES,

tests/test_rsa.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from pkcs11 import MGF, Attribute, KeyType, Mechanism, MechanismFlag, ObjectClass
99
from pkcs11.util.rsa import decode_rsa_private_key, decode_rsa_public_key
1010

11-
from . import FIXME, TOKEN_PIN, Not, TestCase, requires
11+
from . import TOKEN_PIN, Not, TestCase, requires
1212

1313

1414
class RSATests(TestCase):
@@ -172,7 +172,6 @@ def attempt_verify():
172172
self.assertTrue(self.public.verify(data, signature))
173173

174174
@requires(Mechanism.RSA_PKCS_OAEP)
175-
@FIXME.opencryptoki # can't set key attributes
176175
def test_key_wrap(self):
177176
key = self.session.generate_key(
178177
KeyType.AES,

0 commit comments

Comments
 (0)