Topic: GMail - new interface - security question

On arbitrary websites FireGPG injects a chrome iframe to secure the decrypted text if it detects an encrypted block. Therefore it shouldn't be possible for JavaScript code on the page to read the decrypted message (content code isn't allowed to read chrome content).

As for GMail with the new interface FireGPG interacts directly with the page content. The decrypted message is injected into the existing DOM without the securing chrome iframe. Therefore it should be possible for JavaScript code to read the decrypted message.

It's debatable if Google would do such evil things, but this seems to be a general problem, which is already solved for inline encrypted messages in arbitrary websites.

Is this behavior of FireGPG intended or even necessary to interact with the GMail interface?

Please correct me if I've made incorrect assumptions.

I'm using current Fx 3.0.7 and FireGPG 0.7.5

Re: GMail - new interface - security question

We assume google is clean, yes. If gmail want, they can do anything, but as you trust them as a webmail, I think you can trust them to doesn't do anything bad.

Any ways, there is thing impossible to do inside an iframe (mail's composition, auto decryption, etc..), so it's kind of 'necessary'...

Re: GMail - new interface - security question

Thanks for clarification!

there is thing impossible to do inside an iframe (mail's composition, auto decryption, etc..), so it's kind of 'necessary'

What's the technical limitation p.e. with auto decryption? On other sites FireGPG replaces the encrypted block with an iframe. If you click on the decrypt link, FireGPG shows the clear message. Instead of waiting for user confirmation FireGPG could automatically decrypt the encrypted message, I think.

Re: GMail - new interface - security question

Yep, but we have to get the source of the message. For this, we need to interact a lot with gmail, and here gmail can do what he want (like send back a false text, etc...). I don't think gmail relay care if you can check the sign or not.

For encrypted content, it's an another problem, but you can check 'Old behavior for decryption' in option, to have the decryption result in a new windows and not in the dom.

Re: GMail - new interface - security question

but you can check 'Old behavior for decryption' in option, to have the decryption result in a new windows and not in the dom

That seems to be a good alternative. Thanks for the hint!

Last edited by ubimint (2009-03-25 07:32:24)