improve dkim key handling