importing/validating private keys