Skip to content

Commit

Permalink
Version 0.12.0
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Gheorghiu <[email protected]>
  • Loading branch information
vsoftco committed Jan 15, 2025
1 parent 41f7bcb commit a99eb99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public_key)`
- When operations fail (i.e., `OQS_SUCCESS != 0`) in functions returning
non-boolean objects, a `RuntimeError` is now raised, instead of returning 0
- Bugfix on Linux, `c_int` -> `c_size_t` for buffer sizes
- Bugfix on Linux platforms, `c_int` -> `c_size_t` for buffer sizes
- Pyright type checking fixes
- Updated examples to use `ML-KEM` and `ML-DSA` as the defaults

Expand Down
3 changes: 1 addition & 2 deletions tests/test_kem.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def check_wrong_ciphertext(alg_name):

def test_not_supported():
try:
with oqs.KeyEncapsulation("bogus"):
with oqs.KeyEncapsulation("unsupported_sig"):
raise AssertionError("oqs.MechanismNotSupportedError was not raised.")
except oqs.MechanismNotSupportedError:
pass
Expand All @@ -56,7 +56,6 @@ def test_not_supported():


def test_not_enabled():
# TODO: test broken as the compiled lib determines which algorithms are supported and enabled
for alg_name in oqs.get_supported_kem_mechanisms():
if alg_name not in oqs.get_enabled_kem_mechanisms():
# Found a non-enabled but supported alg
Expand Down
3 changes: 1 addition & 2 deletions tests/test_sig.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def check_wrong_public_key(alg_name):

def test_not_supported():
try:
with oqs.Signature("bogus"):
with oqs.Signature("unsupported_sig"):
raise AssertionError("oqs.MechanismNotSupportedError was not raised.")
except oqs.MechanismNotSupportedError:
pass
Expand All @@ -101,7 +101,6 @@ def test_not_supported():


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

0 comments on commit a99eb99

Please sign in to comment.