From 8099863fd95a8e4c1a9046e94a2ed5f63f79eaf8 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sun, 24 Feb 2019 11:24:57 +0100 Subject: [PATCH] reading messages --- test/sync_handshake.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/sync_handshake.py b/test/sync_handshake.py index 782b617..0819fbc 100644 --- a/test/sync_handshake.py +++ b/test/sync_handshake.py @@ -32,6 +32,12 @@ def run(name): pEp.messageToSend = messageToSend ui = UserInterface() + while True: + l = minimail.recv_all(inbox, name) + for m in l: + msg = pEp.Message(m) + msg.decrypt() + if __name__=="__main__": from optparse import OptionParser