Son NK
|
4b8a2a1851
|
add tests for sign_data
|
2020-11-03 13:30:13 +01:00 |
|
Son NK
|
8d0e243c83
|
sign PGP forwarded email if PGP_SENDER_PRIVATE_KEY
|
2020-11-02 19:09:57 +01:00 |
|
Son NK
|
6c816d51d6
|
fix load_public_key_and_check, remove IncorrectPassphrasePGPException
|
2020-10-28 12:21:42 +01:00 |
|
Son NK
|
9210459a72
|
add pgpy
- add pgpy to poetry
- add test PGP keys to local_data
- add encrypt_file_with_pgpy()
- use randomly pgpy
|
2020-10-28 11:50:14 +01:00 |
|
Son NK
|
a2254cfdf8
|
remove pgp debugging code
|
2020-10-27 20:27:34 +01:00 |
|
Son NK
|
6803d4bf42
|
fix import error
|
2020-10-26 10:32:56 +01:00 |
|
Son NK
|
477481c41e
|
save the data for debugging when pgp fails
|
2020-10-24 19:03:19 +02:00 |
|
Son NK
|
0a4fc76b61
|
optimize import
|
2020-10-15 16:45:28 +02:00 |
|
Son NK
|
e661f90ce7
|
do not hard exit when memory exceeds the threshold
|
2020-09-29 12:33:36 +02:00 |
|
Son NK
|
9def7df974
|
also search for PGP key in contact
|
2020-08-08 10:26:24 +02:00 |
|
Son NK
|
6437ee46e0
|
use LOG.exception instead of LOG.error to provide stacktrace
|
2020-07-17 12:59:07 +02:00 |
|
Son NK
|
1dc2e9c54f
|
fix retry pgp
|
2020-06-12 00:01:21 +02:00 |
|
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 |
|