Commit graph

41 commits

Author SHA1 Message Date
4670bcdafd
wrap some things in try/except blocks 2024-11-15 14:36:54 +00:00
272842162d
don't decode if decoding unneeded 2024-11-14 20:12:40 +00:00
8fea330537
doc 2024-11-14 19:51:56 +00:00
c148b94be1
decode_b64_part always returns something 2024-11-14 19:47:59 +00:00
ec1fda254a
Merge branch '7or8bit-decode' 2024-11-14 19:45:11 +00:00
633a54e2b1
decode b64 bytes for non-multipart message too 2024-11-14 19:39:17 +00:00
218ee51ac2
abstract b64 decoding behaviour to a function 2024-11-14 19:37:15 +00:00
f1a07cb1e0
use message_from_string instead of message_from_bytes cause message_from_bytes bizarrely changes it back to base64 2024-11-14 19:24:40 +00:00
f559fef2ed
strip trailing hyphens from base64 2024-11-14 19:15:37 +00:00
10f25158bf
try to decode w/o boundary 2024-11-14 19:05:21 +00:00
6590baafd1
try do this by replacing entire payload 2024-11-14 18:55:06 +00:00
b213a0ab52
don't encode decoded 2024-11-14 18:52:18 +00:00
9a3a1f2cb7
encode the find and replaces for b64 decode 2024-11-14 18:46:30 +00:00
158f5356a1
syntax error fix 2024-11-14 18:45:30 +00:00
82c5144e58
implement really hacky way of decoding b64 parts 2024-11-14 18:44:28 +00:00
a21ee759c8
temp remove base64 decoding and unconditionally quopri decode 2024-11-14 18:26:22 +00:00
2955e990da
var name typo 2024-11-14 18:15:06 +00:00
e7a8f40b91
first attempt to implement decoding as 7or8bit through quopri, base64, and byte replacement 2024-11-14 18:13:16 +00:00
8755e0e1cc
gitignore some testing files 2024-11-14 17:39:25 +00:00
b78f1f04af
more testing scripts 2024-11-14 15:59:20 +00:00
f895e87ec0
account for non-multipart emails 2024-11-14 15:19:57 +00:00
ed57c8f0d4
first attempt to implement decoding as 7or8bit (non-working) 2024-11-13 17:22:21 +00:00
61120dd4e8
revert gpgmymail to 40b3ba3760 2024-11-12 19:00:56 +00:00
885532f27a
callable type hint 2024-11-12 18:55:14 +00:00
e0959fb9c6
var name syntax error 2024-11-12 18:52:58 +00:00
06e863f739
attempt to encode encrypted messages the same as unencrypted input 2024-11-12 18:45:10 +00:00
40b3ba3760
allow user to specify they want input to be encrypted unconditionally 2024-11-12 14:27:20 +00:00
4fed606df2
syntax error fix 2024-11-12 14:06:58 +00:00
a2eaa913be
allow user to control encoding 2024-11-12 14:06:19 +00:00
edd8650c84
pre-commit hooks 2024-11-06 22:53:20 +00:00
6ee8493416
move .venv to venv 2024-11-06 22:51:48 +00:00
ff3fb5e431
move encoding to a constant and have same encoding for both encryption and decryption 2024-11-06 20:47:12 +00:00
dc7bebde92
only test subtype 2024-11-05 17:16:14 +00:00
9c5567addf
no longer use utf-8 encoding bc it causes encoding issues (waow) with some emails? 2024-11-05 17:14:44 +00:00
51c0ea34a7
use utf-8 encoding for gpg encryption 2024-11-04 23:55:56 +00:00
3338035673
doc 2024-11-04 18:55:51 +00:00
8a8125957c
remove obsolete addition in README 2024-11-04 18:51:32 +00:00
fe0caa446a
documentation + add unconditionally_encrypt optional kwarg to encrypt() 2024-11-04 17:17:02 +00:00
3f0aa89f08
more helpful program description 2024-11-04 16:33:36 +00:00
e00bc3f33e
requirements 2024-11-04 16:31:40 +00:00
9b86d14d6e
initial commit 2024-11-04 16:24:24 +00:00