954 (@954-Ivory) 在 python 有什么开箱即用的(一机一码)授权方案吗? 中发帖
用目前是用 pyarmor 做了一套授权机制。
https://pyarmor.readthedocs.io/zh/latest/
这边主要是用 Harddisk Serial Number 和 Mac address 来验证的,这两个玩意儿太容易伪造了。
https://pyarmor.readthedocs.io/zh/latest/reference/man.html#cmdoption-pyarmor-gen-b
比如 vmware 里的,基本都长这个样:
{
"harddisk_sn": "VMWareNVME_0000",
"mac_address": "00:0c:29:a5:70:7f"
}
而且 pyarmor 那个官方 licenses 挺贵的
https://pyarmor.readthedocs.io/z...