openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.8 (released on June 25, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
62 stars 18 forks source link

binfhe examples are not working #47

Closed yspolyakov closed 1 year ago

yspolyakov commented 1 year ago

I am getting the following error

~/git/openfhe-python$ python3 examples/binfhe/boolean.py
Generating the bootstrapping keys...

Traceback (most recent call last):
  File "examples/binfhe/boolean.py", line 23, in <module>
    cc.BTKeyGen(sk)
TypeError: BTKeyGen(): incompatible function arguments. The following argument types are supported:
    1. (self: openfhe.BinFHEContext, arg0: lbcrypto::LWEPrivateKeyImpl, arg1: lbcrypto::KEYGEN_MODE) -> None

Invoked with: <openfhe.BinFHEContext object at 0x7f79c09cd5b0>, <openfhe.LWEPrivateKey object at 0x7f79c0a552f0>