interface: add padding and some noise to protocol messages
basic countermeasures against traffic analysis
This commit is contained in:
@@ -75,8 +75,8 @@ def check_imports():
|
||||
import aiorpcx
|
||||
except ImportError as e:
|
||||
sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
|
||||
if not ((0, 22, 0) <= aiorpcx._version < (0, 26)):
|
||||
raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.22.0<=ver<0.26')
|
||||
if not ((0, 25, 0) <= aiorpcx._version < (0, 26)):
|
||||
raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.25.0<=ver<0.26')
|
||||
# the following imports are for pyinstaller
|
||||
from google.protobuf import descriptor
|
||||
from google.protobuf import message
|
||||
|
||||
Reference in New Issue
Block a user