fix parse_public_key_packets