コード例 #1
0
 def start(self):
     if self.protocol is None:
         query = QueryMessage(versions=self.supported_versions)
         self.send_message(query.encode())
         self.sent_query = True
     else:
         pass  # never restart the AKE as it creates a security risk which allows man-in-the-middle attacks even after the session was encrypted and verified using SMP