Merge pull request #4393 from fufesou/feat/plugin_framework
plugin_framework, add uuid on plugin signature verification
This commit is contained in:
commit
da7702be07
@ -80,7 +80,6 @@ pub(super) struct MsgToExtSupport {
|
|||||||
|
|
||||||
#[derive(Debug, Serialize)]
|
#[derive(Debug, Serialize)]
|
||||||
struct PluginSignReq {
|
struct PluginSignReq {
|
||||||
peer_id: String,
|
|
||||||
plugin_id: String,
|
plugin_id: String,
|
||||||
version: String,
|
version: String,
|
||||||
msg: Vec<u8>,
|
msg: Vec<u8>,
|
||||||
@ -283,7 +282,6 @@ fn request_plugin_sign(id: String, msg_to_rustdesk: MsgToRustDesk) -> PluginRetu
|
|||||||
let sign_url = format!("{}/lic/web/api/plugin-sign", get_api_server());
|
let sign_url = format!("{}/lic/web/api/plugin-sign", get_api_server());
|
||||||
let client = reqwest::blocking::Client::new();
|
let client = reqwest::blocking::Client::new();
|
||||||
let req = PluginSignReq {
|
let req = PluginSignReq {
|
||||||
peer_id: crate::ui_interface::get_id(),
|
|
||||||
plugin_id: id.clone(),
|
plugin_id: id.clone(),
|
||||||
version: signature_data.version,
|
version: signature_data.version,
|
||||||
msg: signature_data.data,
|
msg: signature_data.data,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user