Add gpg key generation from rfc822 template file.