Topic: Cannot send encrypted attachment > 2MB

Hi,

First, thx a lot for this great plugin!!!

I cannot send encrypted attachment that are > 2MB.
Anyone having the same problem? I am using gpg1, FF 3.0.8, FireGPG 0.7.5

Jolly

Re: Cannot send encrypted attachment > 2MB

Hi

Any errors in cosole or whatever ?

Re: Cannot send encrypted attachment > 2MB

Here are the errors:

Error: FireGPG-debug: [misc.EnigConvertToUnicode][Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIScriptableUnicodeConverter.ConvertToUnicode]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://firegpg/content/Core/misc.js :: EnigConvertToUnicode :: line 1075"  data: no]
Source file: chrome://firegpg/content/Core/misc.js
Line: 134
----------
Error: FireGPG-debug: [misc.eraseSavedPassword]TypeError: document.getElementById("firegpg-menu-memo-tool") is null
Source file: chrome://firegpg/content/Core/misc.js
Line: 134
----------
Error: result.sdOut is undefined
Source file: chrome://firegpg/content/Core/cgpg.js
Line: 756

Jolly

Re: Cannot send encrypted attachment > 2MB

I just played with a few files that I had at hand.
I could encrypt files up to 1,407 KB.
Files larger than 1,562 KB could not be encrypted. (I can encrypt them using GPGee instead).

I hope it helps...

Re: Cannot send encrypted attachment > 2MB

Yop, seem a firefox problem with unicode conversion with big strings. I don't think I can do something...

Re: Cannot send encrypted attachment > 2MB

I never coded anything for FF,  but Isn't there a way to load files as something else than big strings ?
Something like a binary format ?

Re: Cannot send encrypted attachment > 2MB

It's already done like this, we I speak about string I speak about a sequence of byte wink

Re: Cannot send encrypted attachment > 2MB

I also noticed that when I try to close firefox after an unsuccessful attachment encryption, FF starts using 100 % of one cpu. sad