pupy icon indicating copy to clipboard operation
pupy copied to clipboard

from tinyec.ec import ( ImportError: cannot import name to_bytes

Open isa84sfs opened this issue 4 years ago • 6 comments

root@kali:~/attack/tools/pupy/pupy# ./pupygen.py No handlers could be found for logger "pupy.network" Traceback (most recent call last): File "./pupygen.py", line 33, in from pupylib.utils.listener import get_listener_ip, get_listener_port File "/root/attack/tools/pupy/pupy/pupylib/init.py", line 23, in from PupyCredentials import Credentials File "/root/attack/tools/pupy/pupy/pupylib/PupyCredentials.py", line 18, in from network.lib.transports.cryptoutils import ECPV File "/root/attack/tools/pupy/pupy/network/lib/transports/cryptoutils/init.py", line 43, in from .ecpv import ECPV File "/root/attack/tools/pupy/pupy/network/lib/transports/cryptoutils/ecpv.py", line 11, in from tinyec.ec import ( ImportError: cannot import name to_bytes

isa84sfs avatar May 17 '20 21:05 isa84sfs

Someone found a fix?

xView60 avatar Aug 31 '20 21:08 xView60

https://github.com/alexmgr/tinyec

tinyec, no to_bytes, from_bytes, ec2osp, osp2ec in tinyec/ec.py

emmmmmmmmm?

w-devin avatar Feb 02 '21 06:02 w-devin

https://github.com/alxchk/tinyec/

alxchk avatar Feb 02 '21 07:02 alxchk

https://github.com/alxchk/tinyec/

thanks

w-devin avatar Feb 02 '21 07:02 w-devin

I have tried uninstall and install again tinyec, and don't work... any ideas?

rfbasso avatar Feb 26 '21 14:02 rfbasso

I have tried uninstall and install again tinyec, and don't work... any ideas?

the tinyec in this rep is https://github.com/alxchk/tinyec/, not the version installed by pip

w-devin avatar Jun 04 '21 15:06 w-devin