On 9.4.2019 18.15, Dave wrote:
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
Yes. I gave it a try here, and it seems to work. Does it give any extra information if you include -i flag?
Aki