pazz / alot

Terminal-based Mail User Agent
GNU General Public License v3.0
703 stars 163 forks source link

Encrypted email plaintext is not always ascii #280

Open kazuoteramoto opened 12 years ago

kazuoteramoto commented 12 years ago

I'm testing/watching the feature-gnupg branch.

I found that mutt send encrypted emails in 8bit sometimes. My observations are:

mutt send encrypted+signed as

Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

and send encrypted only as

Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

I don't know the reason, but this behaviour break commit 99c3fdd90bc997201331d0b34f9501554f79f3d8

pazz commented 12 years ago

this branch is more POC atm as i'm always too lazy to read the rfcs (2015 i belive).

I'd be happy if someone could look into Message.is_signed and Message.is_encrypted for this. sorry i can't tell you more at this point..