mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-22 13:40:19 +00:00
Cleanup
This commit is contained in:
parent
b92ddeccff
commit
d7aacba797
@ -584,7 +584,7 @@ class Transport:
|
|||||||
try:
|
try:
|
||||||
if hasattr(interface, "ifac_identity") and interface.ifac_identity != None:
|
if hasattr(interface, "ifac_identity") and interface.ifac_identity != None:
|
||||||
# Calculate packet access code
|
# Calculate packet access code
|
||||||
ifac = interface.ifac_identity.sign(raw)[-interface.ifac_size:]
|
ifac = interface.ifac_identity.sign(raw)[-interface.ifac_size:]
|
||||||
|
|
||||||
# Generate mask
|
# Generate mask
|
||||||
mask = RNS.Cryptography.hkdf(
|
mask = RNS.Cryptography.hkdf(
|
||||||
|
Loading…
Reference in New Issue
Block a user