mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-12 11:38:11 -07:00
Optimised link establishment
This commit is contained in:
@@ -143,6 +143,9 @@ class Packet:
|
||||
if self.packet_type == Packet.ANNOUNCE:
|
||||
# Announce packets are not encrypted
|
||||
self.ciphertext = self.data
|
||||
elif self.packet_type == Packet.LINKREQUEST:
|
||||
# Link request packets are not encrypted
|
||||
self.ciphertext = self.data
|
||||
elif self.packet_type == Packet.PROOF and self.context == Packet.RESOURCE_PRF:
|
||||
# Resource proofs are not encrypted
|
||||
self.ciphertext = self.data
|
||||
|
||||
Reference in New Issue
Block a user