decrypt.rb

Dave dave at momentumweb.com
Tue Apr 9 18:15:22 EEST 2019


 >> I've tried specifying an output file as well, per the script's 
command line options,
 >> but the output file is 0 bytes.  Does anyone have any suggestions?  
I *think* I'm
 >> using it the way it's intended to be used, but maybe I'm not?!
 >> -Dave
 >
 > Hi!
 > Maybe the key you tried was not used to encrypt the file?
 > Aki

Aki, it's the same key I've used in the config for the mail_crypt plugin 
in 90-plugin.conf:

plugin {
   mail_crypt_global_private_key = <[PATH_TO_PRIVATE_KEY]
   mail_crypt_global_public_key = <[PATH_TO_PUBLIC_KEY]
   mail_crypt_save_version = 2
}

That's the private key that's encrypting all of the messages 
successfully, so that's the one I would use with script, correct?
-Dave



More information about the dovecot mailing list