Set pubkey to be contents of public key