fix for pubkey for Darwin