27

I'm looking to do some client-side PGP encryption in Javascript. I've found some GPL library scattered on the web, but for obvious reason, I cannot use that code due to licensing issues.

I'm looking for some BSD-like license library that would accomplish the same thing. Anyone know of a library I could use?

Claude Houle
  • 41,064
  • 8
  • 33
  • 42

4 Answers4

18

OpenPGP.js is probably the most complete and fastest implementation (it's a collaborative effort) and licensed under the LGPL. You might want to join their mailing list.

Charles
  • 50,943
  • 13
  • 104
  • 142
Alex
  • 221
  • 2
  • 3
18

I recently found a MIT licensed client-side javascript library:

https://github.com/bitwiseshiftleft/sjcl

It works well so far, and it allows for a full-client side encryption of the data. Ensuring that even before the data leaves the browser, it is already safe using a public-private key encryption scheme.

Claude Houle
  • 41,064
  • 8
  • 33
  • 42
  • 2
    Nope. The Stanford Lib does not do PGP, but it still does public/private encryption scheme which is good enough for my needs. – Claude Houle Jun 18 '13 at 17:10
6

I know this is an old question, but I recently found: https://keybase.io/kbpgp when looking for a similar item. BSD Licensed instead of *GPL.

Justin Weeks
  • 368
  • 3
  • 5
6

See http://www.hanewin.net/encrypt/

near
  • 69
  • 1
  • 2
  • 3
    did you notice the same link in the one year old comment in the other answer ? – Bastian Apr 07 '11 at 13:17
  • The library is GPL license. (or at least a dependency is GPL license) and cannot be used in a commercial application. Sorry but no cigar. – Claude Houle Sep 14 '11 at 18:33