Software Licensing System for Python Applications - Key Verification in Cryptolens

Sdílet
Vložit
  • čas přidán 16. 06. 2022
  • Cryptolens for Python applications allows you to monetize and license your Python application in our easy-to-use software licensing system. Trusted by hundreds of companies worldwide, our licensing as a service (LaaS) platform makes it effortless to begin selling your software.
    This guide will show you how to implement software licensing using Cryptolens key verification. Our software licensing system makes the implementation and set-up simple so you can focus on what truly matters - your product.
    Sign Up For Free Today!
    app.cryptolens.io/Account/Reg...
    Python SDK: github.com/Cryptolens/cryptol...
  • Věda a technologie

Komentáře • 34

  • @adamhamaimou255
    @adamhamaimou255 Před 2 lety +4

    Amazing work! I want to use this to license executables made in Python with PyInstaller. I got a free account and tried the GitHub code, but I still have a few questions:
    1. What are the security concerns using this tool for an executable?
    2. What is the best way to manage (activate, deactivate, extend, ...) the license keys? Especially, when they grow in number: with the API or through your UI?
    3. What is the best value pricing plan for CryptoLens? Considering future partnerships, if you happen to be interested.
    Thank you for the tool and sample tutorial!
    Adam

    • @cryptolensio
      @cryptolensio  Před 2 lety +1

      Hey Adam, thanks for your feedback!
      To answer the first question, it is a good idea to combine our tool with an obfuscation solution for Python to make it harder for an adversary to reverse engineer the code. Cryptolens will ensure that a license file has not been tampered with, but it will not perform any obfuscation. For highly sensitive code, it is better to expose it through an API that you host on your end. Please let us know if you have any questions about this.
      As for the best way to manage activations, deactivations etc, it depends on how may licenses you will sell. For example, if you sell a few licenses to larger clients, then a good start would be to create and extend (or perform other operations) using the UI. If the number of licenses is high, then it is better to try to automate it through the API. It can be done in various ways, using our Zapier integration or by directly calling our API from your existing system or third party tool.
      As a standard, we currently support a usage-based licensing model that will adjust based on the actual usage. We have some more information about it on cryptolens.io/pricing/.
      Please feel free to reach out to us by mail, support@cryptolens.io, if you have any further questions. We would be happy to help!

  • @All.Informations
    @All.Informations Před rokem +3

    What if i want to create many keys but in the code u put only one +.+

  • @ConexaoMixChannel
    @ConexaoMixChannel Před rokem

    I love it! Let's say the user logs in but I wanna check his key mid session, is there any specific method for that or would I have just to run the same method in loop?

    • @cryptolensio
      @cryptolensio  Před rokem +1

      Happy to hear that! :) Yes, you are right, you can just run the same method in a loop/background thread. E.g. you could either call Activate or GetKey method (GetKey is works well if you just need to access license properties, such as expiration date, in "read only" mode).

    • @ConexaoMixChannel
      @ConexaoMixChannel Před rokem

      @@cryptolensio It works, thanks! I have another question, if I have a student account, will I be able to host more than 10 licenses if I pay for them? Or do I have to get the standard one for that.

  • @MOUKANIMOUKANA
    @MOUKANIMOUKANA Před 4 měsíci +2

    Is it possible to link your Lens crypto account to a sales platform, so that a key is created for each purchase?

    • @cryptolensio
      @cryptolensio  Před 5 dny

      We have a few integrations with systems such as Stripe, PayPal and FastSpring out of the box. If you would like to use a different sales system, we also have a Zapier app that can be used to connect Cryptolens and the other service together.

  • @r6icyy
    @r6icyy Před 28 dny

    How do i add it to my code? Cause when i add it, and run, it bypasses it and goes straight to my code

    • @cryptolensio
      @cryptolensio  Před 5 dny

      The if-statement after key.activate is crucial. If the license verification check fails, this is where you would prompt the user to re-enter the key or exit the program.

  • @georgebas1605
    @georgebas1605 Před rokem

    Are these licenses one-time? If not python script can be shared through groups

    • @cryptolensio
      @cryptolensio  Před rokem +2

      Hey! Licenses will typically be unique on a customer basis. A good practise is to not to hard code the license key in the application, but ask the user for it or read it from a config file.

  • @Royal_Official
    @Royal_Official Před rokem

    hello need help...if i deactivate key then also software work in their pc why

    • @cryptolensio
      @cryptolensio  Před rokem

      Hey! We would need more details on how this was setup and the code used. Could you please email us at support@cryptolens.io?

  • @AB-cd5gd
    @AB-cd5gd Před 6 měsíci

    Hey, i dont understand the pricing part, in a part it says 50€ monthly and somewhere the cost is per request and license, what is the minimum price for a private person not expecting to get above like 1000 customers?

    • @ArtemLos
      @ArtemLos Před 5 měsíci

      Hey! Thanks for the question. The minimum price on the standard tier is €50 monthly. The cost per license decreases with volume. The request fee is only charged if you get above 100k request in a given month.

    • @AB-cd5gd
      @AB-cd5gd Před 5 měsíci

      @@ArtemLos thanks! I have another question, you confirm it can handle monthly subscription, does cryptolens provides the payment portal that I integrate on my website or how does it work exactly?

    • @cryptolensio
      @cryptolensio  Před 5 dny

      @@AB-cd5gd Cryptolens offers an out of the box integration with Stripe for recurring payments. There is also an option to use our Zapier app with any other payment gateway of your choice.

  • @optious1550
    @optious1550 Před rokem +1

    Hey how do i fix this? "The license does not work: Unable to authenticate."

    • @cryptolensio
      @cryptolensio  Před rokem +1

      Hey! Unable to authenticate means the access token is incorrect or there is a typo in it. Please check out this guide with common API errors: help.cryptolens.io/faq/index#troubleshooting-api-errors

    • @optious1550
      @optious1550 Před rokem +1

      @@cryptolensio I can't see any errors though could u help me?

    • @optious1550
      @optious1550 Před rokem +1

      ​@@cryptolensio Im just confused because its saying this
      Total: 11
      Successful: 11
      Failed: 0

    • @cryptolensio
      @cryptolensio  Před rokem +1

      @@optious1550 Requests with an incorrect access token will not be recorded by the API, which would explain why 0 requests are marked as failed.
      Could you please send an email to the support team so that they can take a look at it? They will be able to provide more details. Thanks!

  • @rhanditaher1468
    @rhanditaher1468 Před 5 měsíci

    hi even if the key expires it still working i don't know why and how to fix this?

    • @cryptolensio
      @cryptolensio  Před 5 měsíci

      Thanks for the question! We have more details about this behaviour in the following article: help.cryptolens.io/web-interface/keys-that-dont-expire

  • @parveenhassan2110
    @parveenhassan2110 Před rokem

    The app activates even if i enter wrong key, why is this?

    • @cryptolensio
      @cryptolensio  Před rokem

      Hey! It sounds like the error is in the code. Could you please send us how you implemented it to support@cryptolens.io. Thanks!

  • @GelsYT
    @GelsYT Před 11 měsíci +1

    Hi so this code
    result = Key.activate(token=auth,\
    rsa_pub_key=RSAPubKey,\
    product_id=###, \
    key=###,\
    machine_code=Helpers.GetMachineCode())
    activates the license key right? so is it okay to just leave it like that for every python run? or will it keep activating it? Or is there A WAY to check if it is already activated then I can activate it? thanks

    • @AB-cd5gd
      @AB-cd5gd Před 6 měsíci

      Did you find an answer

    • @cryptolensio
      @cryptolensio  Před 5 dny

      The activate call does both activation and verification. If the machine that it runs on is already activated, it will only verify and not activate the same machine again. Usually you would run this once the application starts or in a background thread if you are using the floating license model.

    • @cryptolensio
      @cryptolensio  Před 5 dny

      @@AB-cd5gd We just wrote a reply to the main question in this thread. Please let us know if you would have any other questions.

  • @makemoneybtc6913
    @makemoneybtc6913 Před rokem +1

    File "/mnt/c/Users/User/Desktop/site list maker/p.py", line 12
    key="HRRVS-SKDMX-ZDCTA-LHRBQ",\
    ^
    SyntaxError: unexpected character after line continuation character

    • @cryptolensio
      @cryptolensio  Před rokem

      Hi, thanks for the question! Could you please send us the complete code snippet to support@cryptolens.io and we will do our best to help. Thanks!