hotfix response signing
This commit is contained in:
parent
c69ef348c2
commit
e4d71fd62f
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "trifid-api"
|
name = "trifid-api"
|
||||||
version = "0.1.2"
|
version = "0.1.3"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Pure-rust Defined Networking compatible management server"
|
description = "Pure-rust Defined Networking compatible management server"
|
||||||
license = "GPL-3.0-or-later"
|
license = "GPL-3.0-or-later"
|
||||||
|
|
|
@ -322,7 +322,7 @@ pub async fn dnclient(
|
||||||
let signing_key = host_in_ks
|
let signing_key = host_in_ks
|
||||||
.signing_keys
|
.signing_keys
|
||||||
.iter()
|
.iter()
|
||||||
.find(|u| u.id == (req.counter as u64) - 1)
|
.find(|u| u.id == (req.counter as u64))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let msg = DoUpdateResponse {
|
let msg = DoUpdateResponse {
|
||||||
|
|
Loading…
Reference in New Issue