Commits

Adam Pritchard  committed 4bd34bb

Removed lines that got lost in a merge

  • Participants
  • Parent commits 0193017

Comments (0)

Files changed (1)

File Automation/psi_ops.py

                     psi_ops_crypto_tools.generate_key_pair(
                         REMOTE_SERVER_SIGNING_KEY_PAIR_PASSWORD))
 
+        # This may be serialized/deserialized into a unicode string, but M2Crypto won't accept that.
+        # The key pair should only contain ascii anyways, so encoding to ascii should be safe.
+        self.__remote_server_list_signing_key_pair.pem_key_pair = \
+            self.__remote_server_list_signing_key_pair.pem_key_pair.encode('ascii', 'ignore')
+        return self.__remote_server_list_signing_key_pair
+
     def create_feedback_encryption_key_pair(self):
         '''
         Generate a feedback encryption key pair and wrapping password.