def get_passphrase(self, msg, confirm):
    self.done.clear()
    self.passphrase_signal.emit(msg, confirm)
    self.done.wait()
    return self.passphrase
def get_passphrase(self, msg, confirm):
    self.done.clear()
    self.passphrase_signal.emit(msg, confirm)
    self.done.wait()
    return self.passphrase