global public_key_helper