News for hackers. Stuff that matters.
Re:End-To-End – OpenPGP Chrome extension from Google by orik on Tuesday June 03, 2014 @04:03PM (#7842393)
Why would attachments be considered part of the body?

Encrypt them before uploading them, and send the decrypting key in the body.

Re:End-To-End – OpenPGP Chrome extension from Google by tlrobinson on Tuesday June 03, 2014 @04:10PM (#7842430)
Because as far as the email protocol is concerned attachments are part of the body, just wrapped in a multipart MIME message along with text body.

But Gmail itself may handle attachments differently.

Re:End-To-End – OpenPGP Chrome extension from Google by john2x on Tuesday June 03, 2014 @09:55PM (#7843642)
> But Gmail itself may handle attachments differently.

AFAIK, Gmail handles attachments the same.

Re:End-To-End – OpenPGP Chrome extension from Google by tlrobinson on Tuesday June 03, 2014 @10:22PM (#7843692)
When it sends them, yes, but this is more what I was referring to: https://news.ycombinator.com/item?id=7842868
Re:End-To-End – OpenPGP Chrome extension from Google by veeti on Tuesday June 03, 2014 @04:07PM (#7842414)
Any decent PGP plugin encrypts the attachments.
Re:End-To-End – OpenPGP Chrome extension from Google by TeMPOraL on Tuesday June 03, 2014 @05:34PM (#7842868)
Regardless of how e-mail protocol transfers attachments, GMail pre-uploads files to their servers when composing an e-mail, so if you want to encrypt them, you'll need to do it beforehand.
Re:End-To-End – OpenPGP Chrome extension from Google by dragonwriter on Tuesday June 03, 2014 @04:44PM (#7842611)
> Why would attachments be considered part of the body?

Because if you look at the low-level structure of email, "attachments" are just parts of a body that is in multipart/mixed MIME type.

Re:End-To-End – OpenPGP Chrome extension from Google by marcosdumay on Tuesday June 03, 2014 @05:36PM (#7842879)
If you look that low, the body isn't actually encrypted, just the parts of it that contain your data.

Answering the GP, that varies from one implementation to another. Most clients encrypt attachments, but it looks like this one extension only encrypts the textarea contents.

Re:End-To-End – OpenPGP Chrome extension from Google by dragonwriter on Tuesday June 03, 2014 @06:32PM (#7843125)
Right, I was responding to the "why would attachments be considered part of the body?", not describing whether or not the Google implementation actually did treat them that way.