joelmap / android-privacy-guard

Automatically exported from code.google.com/p/android-privacy-guard
0 stars 1 forks source link

PGP/MIME support #152

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
APG in combination with K9 fail completely if messages are sent from PC using 
PGP/MIME. 

Note that this is different then SMIME. 

PGP/MIME allows MIME encoded content (ie HTML emails) and attachements to be 
encrypted and signed with seamless integration. 
Actually the whole source of the message in MIME format is encrypted and 
decrypted. The user percieves no difference after decrypting the message. 
Also, attachements are encrypted with the message, so no additional step is 
required to request decryption of each attached file. 

K9 supports HTML emails and attachements. 

APG and K9 integration, upon receipt of a PGP/MIME message fail in the 
following way: 

- K9 displayes a message with 2 attached files. 
--- encrypted.asc
--- noname.pgp

Message is not recognized as encrypted to be passed on to APG. 

If the user clicks on "noname.pgp" one gets the error:
Unable to find viewer for application/pgp-encrypted

Actually, this is a file a few bytes long stating PGP/MIME version 
identification. (usually contains Version: 1)

If the user clicks on encrypted.asc, (the open button) then a dialog pops up 
requesting you choose the application to handle this action. APG is not among 
those listed. 

Assuming I save the file to disk, then I start APG, then I decrypt the file, 
save the result into another file (under /mnt/sdcard/APG, apparently), then I 
have the chance to use any text viewer app to show the contents of this file. 
(which is the MIME version of the email in source form). 

APG should support PGP/MIME as well. 

Requiring to use only plain text for email when using PGP so that Android email 
client may have a chance at recognizing it properly is a serious limitation. 

Thank you. 

Original issue reported on code.google.com by andrixnet on 25 Oct 2013 at 5:11

GoogleCodeExporter commented 9 years ago
I have the same Problem.

Android 'E-Mail' from Google (not Gmail) can handle the mails with encrypted 
Attachments.
BUT 'E-Mail' seems not to support encryption in the mail text.

So I use two mail clients for different senders.

Stefan

Original comment by stefanja...@gmail.com on 12 Nov 2013 at 11:28

GoogleCodeExporter commented 9 years ago
Hi andrixnat, I have encountered exactly the same problem. Have you figured out 
a fix for this in the meantime?
I'm using openkeychain with K-9 mail.

Original comment by alek.w...@gmail.com on 19 Jan 2015 at 9:56

GoogleCodeExporter commented 9 years ago
Unfortunately I haven't found a way around it. For practical reasons, stick to 
TB and Enigmail ... 

Original comment by andrixnet on 24 Jan 2015 at 1:15