no longer change subject line or add X-pEp-Version header

This commit is contained in:
revsuine 2024-11-16 19:00:00 +00:00
parent 3ca2cca469
commit 224de12f09
Signed by: revsuine
GPG key ID: 3F257B68F5BC9339

View file

@ -305,10 +305,6 @@ def encrypt(
if key.lower() not in headers_not_to_override: if key.lower() not in headers_not_to_override:
encmsg[key] = value encmsg[key] = value
# mark as confirming to pEp: https://blog.jak-linux.org/2019/06/13/encrypted-email-storage/#pretty-easy-privacy-pp
set_email_header(encmsg, 'Subject', PEP_SUBJECT)
set_email_header(encmsg, 'X-pEp-Version', '2.1')
# we have encrypted the email, set our gpgmymail header appropriately # we have encrypted the email, set our gpgmymail header appropriately
set_email_header(encmsg, 'X-gpgmymail-Status', 'encrypted') set_email_header(encmsg, 'X-gpgmymail-Status', 'encrypted')