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
Hi, when I run my obfuscated script that needs a runtime license key, I have to explicitly set the PYARMOR_RKEY path to the location of the key. However, in the docs, it says that I should be able to just drop it in the runtime folder, but that doesn't work. Is this expected?
Hi, when I run my obfuscated script that needs a runtime license key, I have to explicitly set the PYARMOR_RKEY path to the location of the key. However, in the docs, it says that I should be able to just drop it in the runtime folder, but that doesn't work. Is this expected?
Steps to reproduce (using examples/testpkg):
pyarmor cfg plugins=MultiPythonPlugin
pyarmor gen -i -r --outer testpkg/mypkg -O obfpkg --platform darwin.aarch64 --platform linux.x86_64
pyarmor gen key -e .1 -O obfpkg/mypkg/pyarmor_runtime_005114
cp testpkg/main.py obfpkg
python obfpkg/main.py
Yields
RuntimeError: missing license key to run the script (1:10601)
However, if I do
PYARMOR_RKEY=obfpkg/mypkg/pyarmor_runtime_005114 python obfpkg/main.py
then it runs fine.This is on PyArmor 8.4.3 on M2 Mac. Python 3.10. Thanks
The text was updated successfully, but these errors were encountered: