calculate shared_secret on demand

This commit is contained in:
taco
2025-12-06 16:21:17 +11:00
orang tua 6db57677f9
melakukan 638f41d143
4 mengubah file dengan 22 tambahan dan 8 penghapusan
+1 -1
Melihat File
@@ -1238,7 +1238,7 @@ void MyMesh::handleCmdFrame(size_t len) {
if (_store->saveMainIdentity(identity)) {
self_id = identity;
writeOKFrame();
// re-load contacts, to recalc shared secrets
// re-load contacts, to invalidate ecdh shared_secrets
resetContacts();
_store->loadContacts(this);
} else {