licensecc icon indicating copy to clipboard operation
licensecc copied to clipboard

strange behavior of lccinspector on windows

Open ksv87 opened this issue 10 months ago • 3 comments

I've cloned the repository https://github.com/open-license-manager/licensecc

I've build and installed in ubuntu (wsl) and in windows via VS

I've compiled an example of program_features from https://github.com/open-license-manager/examples

I've issued a license

when run ./example на ubuntu

/mnt/d/EXTERNAL/LICENSE/examples/program_features/build$ ./example
license to sign [DETECTION_SDKlic_ver200]
license for main software OK
license to sign [MY_AWESOME_FUNClic_ver200]
MY_AWESOME_FUNC is licensed

when run example.exe на windows

D:\EXTERNAL\LICENSE\examples\program_features\build>example.exe
128
128
0
license for main software OK
128
128
0
MY_AWESOME_FUNC is licensed

when run lccinspector на ubuntu

/mnt/d/EXTERNAL/LICENSE/examples/program_features/build$ ../../../licensecc/install/bin/DETECTION_SDK/lccinspector example.lic
DEFAULT:...
MAC:...
IP:...
Disk:...
Virtualiz. class :Container
Virtualiz. detail:Other type of vm
Cloud provider   :Provider unknown
Network adapter [0]: eth0
   ip address [187-16-27-172]
   mac address [...]
Cpu Vendor       :GenuineIntel
Cpu Brand        :12th Gen Intel(R) Core(TM) i5-12400
Cpu hypervisor   :1
Cpu model        :0x24675
Bios vendor      :
Bios description :
System vendor    :
Cpu Vendor (dmi) :
Cpu Cores  (dmi) :0
==================
license to sign [DETECTION_SDKlic_ver200]
default project [DETECTION_SDK]: license OK
license to sign [DETECTION_SDKlic_ver200]
project [DETECTION_SDK]: license OK
license to sign [MY_AWESOME_FUNClic_ver200]
project [MY_AWESOME_FUNC]: license OK

when run lccinspector.exe на windows

D:\EXTERNAL\LICENSE\examples\program_features\build>..\..\..\licensecc\install_win\bin\DETECTION_SDK\lccinspector.exe example.lic
DEFAULT:...
MAC:...
IP:...
Disk:...
Virtualiz. class :Virtual machine
Virtualiz. detail:Other type of vm
Cloud provider   :Provider unknown
Network adapter [0]: Realtek Gaming 2.5GbE Family Controller
   ip address [60-21-21-10]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter
   ip address [1-0-17-172]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter #2
   ip address [1-16-27-172]
   mac address [...]
Cpu Vendor       :GenuineIntel
Cpu Brand        :12th Gen Intel(R) Core(TM) i5-12400
Cpu hypervisor   :1
Cpu model        :0x24675
Bios vendor      :American Megatrends International, LLC.
Bios description :Gigabyte Technology Co., Ltd.Z690 GAMING X
System vendor    :Gigabyte Technology Co., Ltd.
Cpu Vendor (dmi) :Intel(R) Corporation
Cpu Cores  (dmi) :6
==================
128
128
0
default project [DETECTION_SDK]: license OK
128
128
0
project [DETECTION_SDK]license signature didn't match with current license
128
128
0
project [MY_AWESOME_FUNC]license signature didn't match with current license

at the same time, software with this license works on both windows and ubuntu, the problem is lccinspector?

ksv87 avatar Jun 10 '25 10:06 ksv87

if build windows version with openssl

D:\EXTERNAL\LICENSE\examples\program_features\build>..\..\..\licensecc\install_win\bin\DETECTION_SDK\lccinspector.exe example.lic
DEFAULT:...
MAC:...
IP:...
Disk:...
Virtualiz. class :Virtual machine
Virtualiz. detail:Other type of vm
Cloud provider   :Provider unknown
Network adapter [0]: Realtek Gaming 2.5GbE Family Controller
   ip address [60-21-21-10]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter
   ip address [1-0-17-172]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter #2
   ip address [1-16-27-172]
   mac address [...]
Cpu Vendor       :GenuineIntel
Cpu Brand        :12th Gen Intel(R) Core(TM) i5-12400
Cpu hypervisor   :1
Cpu model        :0x24675
Bios vendor      :American Megatrends International, LLC.
Bios description :Gigabyte Technology Co., Ltd.Z690 GAMING X
System vendor    :Gigabyte Technology Co., Ltd.
Cpu Vendor (dmi) :Intel(R) Corporation
Cpu Cores  (dmi) :6
==================
default project [DETECTION_SDK]: license OK
project [DETECTION_SDK]license signature didn't match with current license
project [MY_AWESOME_FUNC]license signature didn't match with current license

ksv87 avatar Jun 10 '25 11:06 ksv87

I fix it in PR https://github.com/open-license-manager/licensecc/pull/171

ksv87 avatar Jun 11 '25 12:06 ksv87

D:\EXTERNAL\LICENSE\examples\program_features\build>..\..\..\licensecc\install_win\bin\DETECTION_SDK\lccinspector.exe example.lic
DEFAULT:...
MAC:...
IP:...
Disk:...
Virtualiz. class :Virtual machine
Virtualiz. detail:Other type of vm
Cloud provider   :Provider unknown
Network adapter [0]: Realtek Gaming 2.5GbE Family Controller
   ip address [60-21-21-10]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter
   ip address [1-64-19-172]
   mac address [...]
Network adapter [0]: Hyper-V Virtual Ethernet Adapter #2
   ip address [1-16-27-172]
   mac address [...]
Cpu Vendor       :GenuineIntel
Cpu Brand        :12th Gen Intel(R) Core(TM) i5-12400
Cpu hypervisor   :1
Cpu model        :0x24675
Bios vendor      :American Megatrends International, LLC.
Bios description :Gigabyte Technology Co., Ltd.Z690 GAMING X
System vendor    :Gigabyte Technology Co., Ltd.
Cpu Vendor (dmi) :Intel(R) Corporation
Cpu Cores  (dmi) :6
==================
default project [DETECTION_SDK]: license OK
project [DETECTION_SDK]: license OK
project [MY_AWESOME_FUNC]: license OK

ksv87 avatar Jun 11 '25 12:06 ksv87