You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
运行报错,“ValueError: ECC key format is not supported”。
安装了pycryptodome的3.10.1,3.10.4,3.17版本,都报相同的错误。
(base) deepl@ht-PowerEdge-R740:~/explore/python-psi$ PSI_CONFIG=./config/server.config.yaml psi_run server 127.0.0.1:1234
2023-05-31 13:15:13.443 - INFO: start prepare
Traceback (most recent call last):
File "/home/haitaiwork/deepl/anaconda3/bin/psi_run", line 8, in
sys.exit(main())
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/main.py", line 52, in main
start_server(args.address)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/server.py", line 21, in start_server
server.prepare() # prepare stage
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/psi/server.py", line 22, in prepare
self.oprf_server.prepare()
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/oprf/server.py", line 43, in prepare
receiver.prepare()
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/extension/receiver.py", line 39, in prepare
base.send(self._pair, t_col_bytes, u_col_bytes)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/base/sender.py", line 17, in send
bk = bytes_to_key(bk_bytes)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/serialize/ecc.py", line 19, in bytes_to_key
return ECC.import_key(data)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/Crypto/PublicKey/ECC.py", line 1780, in import_key
raise ValueError("ECC key format is not supported")
ValueError: ECC key format is not supported
The text was updated successfully, but these errors were encountered:
运行报错,“ValueError: ECC key format is not supported”。
安装了pycryptodome的3.10.1,3.10.4,3.17版本,都报相同的错误。
(base) deepl@ht-PowerEdge-R740:~/explore/python-psi$ PSI_CONFIG=./config/server.config.yaml psi_run server 127.0.0.1:1234
2023-05-31 13:15:13.443 - INFO: start prepare
Traceback (most recent call last):
File "/home/haitaiwork/deepl/anaconda3/bin/psi_run", line 8, in
sys.exit(main())
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/main.py", line 52, in main
start_server(args.address)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/server.py", line 21, in start_server
server.prepare() # prepare stage
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/psi/server.py", line 22, in prepare
self.oprf_server.prepare()
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/oprf/server.py", line 43, in prepare
receiver.prepare()
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/extension/receiver.py", line 39, in prepare
base.send(self._pair, t_col_bytes, u_col_bytes)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/base/sender.py", line 17, in send
bk = bytes_to_key(bk_bytes)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/psi/serialize/ecc.py", line 19, in bytes_to_key
return ECC.import_key(data)
File "/home/haitaiwork/deepl/anaconda3/lib/python3.9/site-packages/Crypto/PublicKey/ECC.py", line 1780, in import_key
raise ValueError("ECC key format is not supported")
ValueError: ECC key format is not supported
The text was updated successfully, but these errors were encountered: