How can i check the authenticity of a private key