Fix open_rsa_key