【问题标题】:Cryptolens throws error: No active subscription foundCryptolens 抛出错误:未找到有效订阅
【发布时间】:2021-11-23 16:23:00
【问题描述】:

问题是我看了几个视频并阅读了网站 https://app.cryptolens.io/ 上的指南,但它不起作用:(

我会很高兴得到任何支持。您可以建议另一个系统在 Python 上创建和管理许可证密钥。

from licensing.models import *
from licensing.methods import Key, Helpers

RSAPubKey = "<RSAKeyValue><Modulus>sDHS5RJSXyqiciGkBlpvKsodTefBQBVG+3RZCmtnZ+j0AGYpx19Q1aYpfRiN1CG9NcQhP6VLm1SLM4Wf63qAHiUh/k8PjYroNoxQsqbYw/0lPc+TbsyAWJvDWeIFsPwLpv3v0uOvj1EtRXja+ddBaZAp1dqAVIMVNRLl3J44vCe0PCuCh30jZlSWf5Gzf0pxAhQjaGYKl4nRfpjxGA/9YGkt8Qj5/+nT/yJk0HW2oRCneRW78XWh6e2EX6IGDbVSausypNOwW9gb1bGPvsJG3nFZyJrvumLPD782fHFKEzCqMT0RkVDXkQntxzcj/3uzHqId3us7KNQKvGZqr4nMQQ==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>"
auth = "WyI1MDY1NDc1IiwiQjlTMVZ5ZENzRnVTekt5UGF6SXhSMWJDaE92Qm0ybk9QdVN6aE5YdCJd"

result = Key.activate(token=auth,\
                   rsa_pub_key=RSAPubKey,\
                   product_id=12740, \
                   key="KXVIM-FZEKV-LPVEX-JIYTD",\
                   machine_code=Helpers.GetMachineCode())

if result[0] == None or not Helpers.IsOnRightMachine(result[0]):
    print("The license does not work: {0}".format(result[1]))
else:
    # everything went fine if we are here!
    print("The license is valid!")
    license_key = result[0]
    print("Feature 1: " + str(license_key.f1))
    print("License expires: " + str(license_key.expires))

有key、token等信息: https://docs.google.com/document/d/11BIbyHu3Q22nMGuDF4XdItkmdds1w6pwZuryzUseIVs/edit?usp=sharing

【问题讨论】:

    标签: python-3.x license-key


    【解决方案1】:

    问题是更新账单信息,我需要在页面https://app.cryptolens.io/billing输入卡数据。

    P。 S.

    当我创建帐户时,问题不是。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-31
      • 2018-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多