Thursday, February 12, 2009

Gmail Tests PGP Signature Verification

Sean Leather spotted a new Gmail feature that checks if the PGP signature attached to a message is valid.

"A major benefit of public key cryptography is that it provides a method for employing digital signatures. Digital signatures enable the recipient of information to verify the authenticity of the information's origin, and also verify that the information is intact," explains PGP's documentation.


Gmail's code reveals that Google uses a Java applet to perform verification. Here are some excerpts from the code:

function zOb(a){var b=a[dd](/(-----BEGIN PGP SIGNED MESSAGE-----(.|\r?\n)*?-----END PGP SIGNATURE-----)/); ... var DOb="PGPApplet",EOb="exp/799/pgpapplet_0.jar";OZ[k].wbc=function $aRa(){var a=document[Qi](M);d(a,WNb({code:"com/google/caribou/pgp/PGPApplet.class",name:DOb,archive:EOb})); ... kOb="Click to verify PGP signature in this message.",lOb="Verify signature",RZ="vPzQab",mOb="Info",nOb="No valid PGP signature found.",oOb="Warning!",pOb="Invalid key entered.",qOb="Applet not loaded. Is Java enabled?",rOb="wrClmc",sOb="Success!",tOb="Your message was verified successfully!",uOb="Verify again",vOb="The signature was incorrect! This message may not be authentic!"

The new feature quickly vanished from Sean's account, so it's safe to assume that it's not ready to be publicly released yet. PGP signature verification is the perfect candidate to be the next Gmail Labs experiment.

Update: Expect to see this feature in Gmail Labs. Look for this image:

Labels:

  25 comments ( Post a comment )
Signature verification is good. Email encryption would be awesome.
Sweet! I've been waiting for that. But I must agree, that encryption support would be even better. FireGPG does a pretty good job so far though.
Nice...Gmail has been rolling out really useful features last few weeks. Really impressed. Undoubtedly its the best email client.
I haven't used signatures or message encryption yet though I a public key encryption for a college course. If GMail supported it I'd definitely start using it though.
Interesting. I wonder which keyservers do they use, or do they use their own?
GMAIL is the best email i have ever used
Great, I love gmail!
yeah great.
i'waiting to kill my Freenigma firefox plugin finally :-)

pgp signatures are the first step... and now i'm waiting to get a full encryption including attachements! :-D

after all, i love google labs. some funny geek stuff noone needs (yay, snake!), but there are really good features! :-)
that would be an amazing new feature.
GOOD ITS MY FAVOURITE
An interesting item to keep an eye on will be how Google handles any future implementation of e-mail encryption via Gmail. Specifically, whether they encrypt the contents of auto-saved drafts, which would be the obvious weak link in a Gmail-based mail encryption scheme.
I used gmail. But only use my gmail account for bisnis only not for work or daily activity..
over all i believe with gmail.
That would be great — and having the largest provider offer it is the best booting in you can dream of. It probably precedes a full encryption system, although that might be more information-intensive. Maybe GMail offered the "disconnected" Gears tool to dispatch this additional processing to the end-machine.

I'm not sure why I don't see it: are there any country were this might be illegal? Encryption probably is.
@Bertil:
You don't see it because it hasn't been released it yet.
FireGPG has always given me problems with GMail in the past. (Haven't used it in a while though.) This would be great, especially if they also add an ability to sign mail in GMail - maybe even encrypt/decrypt, though most users would probably assume Google was just trying to steal their keys. cf. http://xkcd.com/538/
This would be awesome!
While it is possible to use OpenPGP and Gmail with a e-mail client program, it would be excellent if the add built in signature validation in their website.
Or maybe they can make a plain text webmail option, in order to be able to paste an already encrypted inline message...
It is excellent to verify pgp signature of incoming Email, as this needs only the public key of the sender. However, it is not appropriate for a web mail program to sign an Email directly, as this requires the private key which is not good to be stored on Goolge server rather your own private data store.

Having said that, I think offline mode or Browse plug-in might fill the gap.
I really like this , It would help me a lot in what I do
I can't wait for this to be out of labs and live. Perhaps the increased visibility and automatic verification would help get people interested in PGP and email encryption!!

While it's stuck in labs, though, it will just be a toy for nerds... most of whom probably already have FireGPG installed.
It is just me or gmail searches return only starred messages?
it works fine now, sorry
This is very exciting. I look forward to seeing this in labs.
I m waiting for this a long time. I hope to test it soon.
PGP signature verification is in labs? where?