-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] The machine id change caused the license to become a trial version
#1484
Comments
Why is there more than one machine id and is there a way to clear the machine id? |
For compatible with old Pyarmor versions, there are many machine ids, the first char is version flag of machine id. What's your Python version and platform (x86_64 or x86)? I'll build a debug version to print more information to check why machine id is changed. |
By the way, if there are multiple platforms in one machine, each system should generate its own device file. Are they same system? If they're same systems, try to download extension https://pyarmor.dashingsoft.com/downloads/temp/win64/cp3.11/pytransform3.pyd Next check the output
Then reboot machine, and run the above commands and check output. Compare the output, and report what's changed. |
I'm using windows x86_64, python version 3.7.13. |
If they're same systems, try to download extension with corresponding Python version. For example, if using Python 3.7 Next check the output
Then reboot machine, and run the above commands and check output. Compare the output, and report what's changed. |
How to do? I can't activate a new license every time I reboot the device, and the license has a limit on the number of offline devices. |
Could you report what're changed of the hardware information? If you use the downloaded |
Please do not paste snapshot image, it's better to paste text directly. |
I did print some more information when I used the downloaded pytransform3.pyd, but the printed information was confusing. `
` |
It doesn't matter, just paste the output. But at least twice for 2 different machine id |
I need check which hardware information is changed by comparing the output log. |
This is a bug, I have found the problem. It will be fixed in next release v8.3.8 |
Fixed in v8.3.8, note that it need generate new device file for this device by Pyarmor 8.3.8 |
@BenjaminYde Note that it need generate new device file for this device by Pyarmor 8.3.8 |
@jondy, tested with pyarmor 8.3.8 with reboot. Seems to be fixed now. Thanks! 👍 Did the following pip install pyarmor==8.3.8
pyarmor --version Did the following twice (with reboot in between) pyarmor reg -g 5
pyarmor reg -g 5 ./pyarmor-regfile-6054.zip
cat .pyarmor/group/pyarmor-group-device.5
pyarmor reg ./pyarmor-device-regfile-6054.5.zip
pyarmor-auth pyarmor-device-regfile-6054.5.zip |
@jondy, Now I have another problem. using pyarmor 8.3.8 Step 1: Start the pyarmor-auth on the host:pyarmor-auth pyarmor-device-regfile-6054.5.zip Works fine. Step 2: Activate pyarmor using the device regfile in the container:
pyarmor reg pyarmor-device-regfile-6054.5.zip This gives the following error:
As you can see on the following picture, the request was received (from container >> host) and send back (host >> container): Here a diagram I made :) : |
Please upgrade Pyarmor to 8.3.9, the newest flag is missed in 8.3.8 |
@jondy, tested with pip install pyarmor==8.3.9
In the container (register regfile): In the container (obfuscate pacakge):
|
pyarmor 8.3.9 is released on pypi.org but no release has been made on this repo |
It changed a little, so it did not released in github.com |
@jondy, do you have an idea when this would be fixed? |
Please check #1511, maybe they're same issue. I'm researching this. BTW, it's better to paste the log text instead image, because github cli could not show image. |
Sorry, it should check #1502, not 1511 |
Just curious, are there any more updates on this @jondy? |
Please upgrade Pyarmor to 8.4.0, and generate new device file by 8.4.0 Make sure machine id could keep same |
Please check issue #1542, it need extra settings if docker host is Windows or MacOS. |
I am using the windows system of a physical device and do not use docker. The machine code change causes the license of the original group version to be changed to the trial version.
How should I solve this problem?
The text was updated successfully, but these errors were encountered: