whiteout-io / mail

[ABANDONED] Mail App with integrated OpenPGP encryption
https://whiteout.io
MIT License
545 stars 96 forks source link

Decrypting messages on iOS app very slow #354

Open majnu-campact opened 9 years ago

majnu-campact commented 9 years ago

I'm on the iPhone 6 and Whiteout is very (very!) slow. Opening an encrypted message (which I assume is taking place offline) takes about 40 seconds. I use a 4096 bit key. Would that be too much for an iPhone?

Logging in also takes a few minutes, which could be a temporary issue.

felixhammerl commented 9 years ago

this is a known issue. iOS performance is really bad, particularly with 4k keys. Hence we generate 2k keys only and try to skip 4k RSA altogether and move straight to ECC with openpgp.js On May 20, 2015 11:49, "majnu-campact" notifications@github.com wrote:

I'm on the iPhone 6 and Whiteout is very (very!) slow. Opening an encrypted message (which I assume is taking place offline) takes about 40 seconds. I use a 4096 bit key. Would that be too much for an iPhone?

Logging in also takes a few minutes, which could be a temporary issue.

— Reply to this email directly or view it on GitHub https://github.com/whiteout-io/mail-html5/issues/354.

majnu-campact commented 9 years ago

Ok, I'll create a new key then. Does that also affect startup time?

felixhammerl commented 9 years ago

nope, unfortunately not

On Wed, May 20, 2015 at 12:06 PM, majnu-campact notifications@github.com wrote:

Ok, I'll create a new key then. Does that also affect startup time?

— Reply to this email directly or view it on GitHub https://github.com/whiteout-io/mail-html5/issues/354#issuecomment-103833520 .

criccric commented 9 years ago

Hi there. I'm having the same issue. But I'm not really sure if it is related to the performance of the apple Idevice CPU. On my 5S opening an encrypted mail takes some 40 seconds too with the whiteout.io app using a 4096 bit key. Copying the PGP encrypted gibberish (same mail) manually from the native mail app to iPGPmail, the decryption takes 1-2 seconds max. after entering the pass phrase of the private key. So maybe there is a way to accelerate the decryption process, maybe another iOS api? Hence this manual copy/paste process with ipgpmail is actually a pain in the .... I was really excited about whiteout.io but for now it's too slow to work productively with the app.

Cheers, Christian