feat: verify license responses with public key

This commit is contained in:
ShukeBta
2026-06-25 14:46:28 +08:00
parent a4a93b7fed
commit 0da96f7e4e
12 changed files with 200 additions and 44 deletions
+2
View File
@@ -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
}
}