Commit Graph

11 Commits

Author SHA1 Message Date
Son NK 9e2f1c5f9f try to load the public key if encrypt fails for 1st time 2020-06-10 22:28:15 +02:00
Son NK 582a971b80 remove pgp retry mechanism 2020-06-08 23:05:35 +02:00
Son NK e988573cb4 hard exit when memory is more than 300MB 2020-06-08 13:53:27 +02:00
Son NK 16df2acb29 stop the email handler process when PGP error 2020-06-07 11:41:35 +02:00
Son NK 123f3583fd log memory usage in encrypt_file() 2020-06-07 10:23:36 +02:00
Son NK c8cd066d25 try encrypt again if fail 2020-06-06 23:06:34 +02:00
Son NK 9603683c18 log the failed encrypted content to debug 2020-06-05 10:10:21 +02:00
Son NK 3550447a66 use BytesIO as input when encrypting 2020-04-02 21:30:36 +02:00
Son NK cf257a92ec use utf-8 for PGP 2020-03-13 12:54:52 +01:00
Son NK 612e4f6717 encrypt forwarded emails to gpg-enabled mailbox 2020-03-08 23:07:23 +01:00
Son NK 2eef010bad add pgp_utils 2020-03-08 12:51:33 +01:00