Skip to content

admpub/license_gen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Checker and Generator

Functionality

  • Generate a license signed by a private key.
  • Check the license based on the public key.

Design

Use two Private keys (K1, K2) for licensing as follows.

  • Use K1's private key to encrypt the license information.
  • Use K2's private key to sign that information.
  • Bundle both K1's private key and K2's public key with the application.
  • When decrypting K1's private key will be used, and then signature will be checked using the public key of K2.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 99.3%
  • Other 0.7%