fix up private_key.rs and public_key.rs