There seems to be a weird bug in the Hanewin libraries that causes messages encrypted with PGP keys created by Gnu Privacy Guard for Mac OS X to be un-decryptable. A key with gpg on a Linux box and it works fine with the JavaScript code.
I'm hoping we can find or build some sort of JavaScript to create the PGP keys so that they work with the Hanewin libraries.
From Alex:
There seems to be a weird bug in the Hanewin libraries that causes messages encrypted with PGP keys created by Gnu Privacy Guard for Mac OS X to be un-decryptable. A key with gpg on a Linux box and it works fine with the JavaScript code.
I'm hoping we can find or build some sort of JavaScript to create the PGP keys so that they work with the Hanewin libraries.
Another potential angle is to use (NPAPI)[https://code.google.com/chrome/extensions/npapi.html] and (GPGME)[http://www.gnupg.org/related_software/gpgme/index.en.html] to do native code crypto. This will require more security checks, and will be harder to port to different systems, but would almost certainly be faster.