Closed hansroh closed 3 days ago
This issue will be fixed in next pyarmor.cli.core release
For now, download the dev version from
https://pyarmor.dashingsoft.com/downloads/temp/linux.x86_64/libs/cp3.9/pytransform3.so
Overwrite /path/to/package/pyarmor/cli/core/pytransform3.so
Another question:
I must deploy my app today.
So I run build-docker container locally and I copied files under ~/.pyarmor to /root/.pyarmor in build-docker container.
and without license registration, pyarmor Basic license works.
If on same machine, does pyarmor Basic licence work even in a docker container with just copying pyarmor license files?
Or it consumed license installable machine count? As my understanding the machine limit is 100.
@jondy I run Python 3.11. Doesn't work.
ERROR /usr/local/lib/python3.11/dist-packages/pyarmor/cli/core/pytransform3.so: undefined symbol: _PyFloat_Pack8
Oh, 3.11 link exists also.
CI license works.
Nope. dosen't work.
At the end of obfuscating,
15 53.85 INFO write dist/kracknet/rkn/models/ssd/service_model.py
#15 53.85 INFO obfuscating file __init__.py
#15 54.12 INFO write dist/kracknet/rkn/models/ssd/__init__.py
#15 54.12 INFO obfuscate scripts OK
#15 54.16 free(): invalid pointer
#15 54.35 Aborted (core dumped)
I look into my .license.token
, there is some kind of expiation date.
Until that date, I think just copying token is fine.
I will use this token today.
@jondy I expected the pyarmor.rkey
files generated from my "004815 basic" license to work with pyarmored scripts on any machine or CI pipeline, but I encountered the following error.
kracknet | Traceback (most recent call last):
kracknet | File "/app/./skitaid.py", line 3, in <module>
kracknet | from pyarmor_runtime_004815 import __pyarmor__
kracknet | File "/app/pyarmor_runtime_004815/__init__.py", line 2, in <module>
kracknet | from .pyarmor_runtime import __pyarmor__
kracknet | RuntimeError: Invalid input packet. (1:10748)
Today,
pyarmor.rkey
on my host machine with basic pyarmor license.--outer
option and copied license.lic
and .license.token
.Is the above RuntimeError a result of an unusual usage today? Or I must the obfuscation and rkey generation be performed in the same docker?
(rkey
which was created in bulid-docker works fine.)
If it's the latter, does it mean I need to create separate Docker containers with obfuscated code and rkey for each customer?
I have uploaded new dev version to fix crash issue, please download it agagin.
I expected the pyarmor.rkey files generated from my "004815 basic" license to work with pyarmored scripts on any machine or CI pipeline
With same license and same outer key name, the runtime key should work even if it's generated in different machine.
Please check Man page, and test it with one simple script. If it doesn't work as expected, please submit new issue.
@jondy Maybe my mistake, I am testing now.
New dev version works fine.
Thank you.
My CI license raises error from today. I dosen't modify code related with pyarmor at all.