Skip to content

export_secret_key from StatefulSignature: TypeError: LoadLibrary() argument 1 must be str, not None #136

@fjumelle

Description

@fjumelle

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions