From 5cfdbc49647b6be943d01e4ab141b705e9e5c86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 27 Jul 2022 22:01:50 +0200 Subject: Explicit identities in pairing request Actual device identities can change at any point during the pairing process, so it is necessary to fix the ones used for nonce confirmation and just initially verify that they belong to the respective sides. --- include/erebos/pairing.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/erebos/pairing.h') diff --git a/include/erebos/pairing.h b/include/erebos/pairing.h index 936b3ac..ea349a9 100644 --- a/include/erebos/pairing.h +++ b/include/erebos/pairing.h @@ -83,6 +83,8 @@ private: struct State { mutex lock; StatePhase phase; + optional idReq; + optional idRsp; vector nonce; vector peerCheck; promise outcome; -- cgit v1.2.3