On my Python configuration (Windows 11, Python 3.14.4 32 bits, my own oqs.dll), the export_secret_key method applied on Stateful Signature algo returns the error "TypeError: LoadLibrary() argument 1 must be str, not None" on this line:
ct.CDLL(ct.util.find_library("c")).free(buf_ptr)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
Actually, the example stfl_sig.py fails when removing the comment line 33:
# secret_key = signer.export_secret_key()
On my Python configuration (Windows 11, Python 3.14.4 32 bits, my own oqs.dll), the export_secret_key method applied on Stateful Signature algo returns the error "TypeError: LoadLibrary() argument 1 must be str, not None" on this line:
ct.CDLL(ct.util.find_library("c")).free(buf_ptr)~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^Actually, the example stfl_sig.py fails when removing the comment line 33:
# secret_key = signer.export_secret_key()