mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-03 04:26:36 +08:00
feat: verify license responses with public key
This commit is contained in:
@@ -104,6 +104,8 @@ func ApplyRuntimeSetting(cfg *config.Config, key, value string) {
|
||||
cfg.License.ServerURL = value
|
||||
case "license.hmac_secret":
|
||||
cfg.License.HMACSecret = value
|
||||
case "license.public_key":
|
||||
cfg.License.PublicKey = value
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user