Skip to content

Commit a99eb99

Browse files
committed
Version 0.12.0
Signed-off-by: Vlad Gheorghiu <[email protected]>
1 parent 41f7bcb commit a99eb99

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
public_key)`
1111
- When operations fail (i.e., `OQS_SUCCESS != 0`) in functions returning
1212
non-boolean objects, a `RuntimeError` is now raised, instead of returning 0
13-
- Bugfix on Linux, `c_int` -> `c_size_t` for buffer sizes
13+
- Bugfix on Linux platforms, `c_int` -> `c_size_t` for buffer sizes
1414
- Pyright type checking fixes
1515
- Updated examples to use `ML-KEM` and `ML-DSA` as the defaults
1616

tests/test_kem.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def check_wrong_ciphertext(alg_name):
4747

4848
def test_not_supported():
4949
try:
50-
with oqs.KeyEncapsulation("bogus"):
50+
with oqs.KeyEncapsulation("unsupported_sig"):
5151
raise AssertionError("oqs.MechanismNotSupportedError was not raised.")
5252
except oqs.MechanismNotSupportedError:
5353
pass
@@ -56,7 +56,6 @@ def test_not_supported():
5656

5757

5858
def test_not_enabled():
59-
# TODO: test broken as the compiled lib determines which algorithms are supported and enabled
6059
for alg_name in oqs.get_supported_kem_mechanisms():
6160
if alg_name not in oqs.get_enabled_kem_mechanisms():
6261
# Found a non-enabled but supported alg

tests/test_sig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def check_wrong_public_key(alg_name):
9292

9393
def test_not_supported():
9494
try:
95-
with oqs.Signature("bogus"):
95+
with oqs.Signature("unsupported_sig"):
9696
raise AssertionError("oqs.MechanismNotSupportedError was not raised.")
9797
except oqs.MechanismNotSupportedError:
9898
pass
@@ -101,7 +101,6 @@ def test_not_supported():
101101

102102

103103
def test_not_enabled():
104-
# TODO: test broken as the compiled lib determines which algorithms are supported and enabled
105104
for alg_name in oqs.get_supported_sig_mechanisms():
106105
if alg_name not in oqs.get_enabled_sig_mechanisms():
107106
# Found a non-enabled but supported alg

0 commit comments

Comments
 (0)