Fix generation of pubkey to include RSA header