Falldog / pyconcrete

Protect your python script, encrypt it as .pye and decrypt when import it
Apache License 2.0
692 stars 149 forks source link

Cannot get change of passphrase working #96

Closed tbrodbeck closed 2 years ago

tbrodbeck commented 2 years ago

Hi. I tried using pyconcrete but I cannot verify that it is working correctly.

So to test it, I first compiled a binary. Then I tried to change my passphrase. For that I did a pip uninstall pyconcrete and installed it again with another passphrase set.

Unfortunately, I can still execute the compiled binary that was compiled with another passphrase.

The other way round there is the same problem: If I install pyconcrete with a wrong passphrase and then later change it into a valid one, it will still not work.

System:

pyconcrete "0.15.1" [Python "3.9.2"] OS: Raspbian GNU/Linux 11 (bullseye) armv7l Host: Raspberry Pi 4 Model B Rev 1.2 Kernel: 5.10.92-v7l+ Uptime: 3 hours, 46 mins Packages: 593 (dpkg) Shell: bash 5.1.4

tbrodbeck commented 2 years ago

Edit: Sorry there was a misconception. You can always execute the code. My bad. In the end, I wanted just like to know a way how to verify it.