allow hd-pub to be used to convert a private key to a public one.