mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
calculate shared_secret on demand
This commit is contained in:
parent
6db57677f9
commit
638f41d143
4 changed files with 22 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue