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