Smart-license v1.0.3 released, providing authorized tools for software

smart-license is an open source project for security hardening. It mainly serves non-open source products, commercial software, paid software with trial function, etc., and provides authorized use of software.

Glossary:

  • License: The license file generated by smart-license is imported into the software product to be authorized for use.
  • Source data: Basic data that needs to be processed by license. For example, use the configuration file of the software product as the source data , and generate a license file after being authorized by the smart-license.
  • License source file: While generating the license, a file will be automatically generated for recording: source data, authorization time, expiration time, key equivalent information. Owned by the software licensee, when the customer loses the license file, it can regenerate the license based on the license source file .

Release Notes:

  1. Fix: The date format of the generated license source file is abnormal.
  2. New: RuntimeExpireStrategy interface for runtime expiration strategy. Users can freely implement countermeasures that trigger expiration during software operation, log alerts or exit the program.
    License license = new License();
    license.setExpireStrategy(new RuntimeExpireStrategy() {
        @Override
        public void expire() {
            System.exit(1);
        }
    });
    license.loadLicense();

     

  3. New: Regenerate the license based on the license source file. See README.MD for specific operations
  4. New: Provide running scripts for Windows environment: keypair.bat, license.bat, license_revert.bat

Applicable scenarios :

  • Non-open source products, commercial software, paid software.
  • Limit the spread of the product, each customer has an exclusive license.
  • The same software distribution package provides different service capabilities according to different licenses.
  • Limited software authorization time

feature of product:

  • Open source, the code is completely open, and the principle of license generation is transparent.
  • Easy to use, provides binary packages, and generates licenses directly based on the command line.
  • Safe, the generated license is tamper-proof to a certain extent, and it is difficult to crack.
  • Security hardening , using asymmetric encryption to pre-process the license source data to prevent forged licenses.

Guess you like

Origin www.oschina.net/news/114924/smart-license-1-0-3-released