def getPMAckKey(self):
        # Generate random packet ID for messages going TO this node
        while 1:
            ack_key = randbytes(8)
            if ack_key not in self.msgkeys_out:
                break

        return ack_key