NoiseProtocol update: send nonce in packet (#306)

* send nonce in packet

* sliding window and 8 byte nonce

* do not process encrypted messages that arent addressed to us, same for nacks

* compiler error: remove comma

* nonce window 4 bytes

* clean up logging
This commit is contained in:
callebtc
2025-07-25 09:46:18 +02:00
committed by GitHub
parent 809e222a31
commit 9515f759d4
3 changed files with 189 additions and 32 deletions
+1 -1
View File
@@ -397,7 +397,7 @@ class ChatViewModel: ObservableObject {
isPrivate: false,
recipientNickname: nil,
senderPeerID: meshService.myPeerID,
mentions: mentions.isEmpty ? nil : mentions,
mentions: mentions.isEmpty ? nil : mentions
)
// Add to main messages immediately for user feedback