def auth_publickey(self, packet):
        """
        We subclass to intercept non-dsa/rsa keys, or Conch will crash on ecdsa..
        """
        algName, blob, rest = getNS(packet[1:], 2)
        if not ('ssh-rsa', 'ssh-dsa') in algName:
            log.msg( "Attempted public key authentication with %s algorithm" % (algName,))
            return defer.fail(error.ConchError("Incorrect signature"))
        return userauth.SSHUserAuthServer.auth_publickey(self, packet)
dataset/ETHPy150Open cowrie/cowrie/cowrie/ssh/userauth.py/HoneyPotSSHUserAuthServer.auth_publickey/swapped operands of `in`