Go to file
2014-01-11 00:45:02 +01:00
doc Use individual source files instead of browserify bundle in node 2014-01-10 09:44:47 -08:00
example update readme and fix example 2014-01-10 23:47:21 +01:00
jsdoc.template Show full class names in nav 2014-01-05 14:25:45 -08:00
src Fix travis problem hopefully for real this time 2014-01-09 09:59:25 -08:00
test fix tests 2014-01-10 20:46:31 +01:00
.gitattributes Fix make bundle-test and keyring unit-tests 2013-12-09 16:57:44 +01:00
.gitignore add dist/ to gitignore 2014-01-09 14:04:07 +01:00
.travis.yml test against node 0.8 and 0.10 in travis 2014-01-10 21:01:48 +01:00
Gruntfile.js update example 2014-01-10 23:22:46 +01:00
LICENSE adding restructured GPG4Browsers code 2011-12-09 18:25:41 +01:00
package.json fix readme 2014-01-11 00:45:02 +01:00
README.md fix readme 2014-01-11 00:45:02 +01:00

OpenPGP.js

OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.

Build Status

Node support

For server side use, install via npm:

npm install openpgp

Example:

var openpgp = require('openpgp');
var key = '-----BEGIN PGP PUBLIC KEY BLOCK ... END PGP PUBLIC KEY BLOCK-----';
var publicKey = openpgp.key.readArmored(key);
var pgpMessage = openpgp.encryptMessage(publicKey.keys, 'Hello, World!');

Browser support

Fetch a minified build under releases. The library can be loaded via AMD/require.js or accessed globally via window.openpgp.

OpenPGP.js currently only fully supports browsers that implement window.crypto.getRandomValues. If you can help us support more browsers and runtimes, please chip in!

To build

npm install && grunt

Then take dist/openpgp.min.js to use in your project.

Run tests

npm install && npm test

Documentation

A jsdoc build of our code comments is available at doc/index.html. Public calls should generally be made through the OpenPGP object doc/openpgp.html.

Mailing List

You can sign up for our mailing list and ask for help there. We've recently worked on getting our archive up and running.

How do I get involved?

You want to help, great! Go ahead and fork our repo, make your changes and send us a pull request.

License

GNU Lesser General Public License (2.1). Please take a look at the LICENSE file for more information.

Resources

Below is a collection of resources, many of these were projects that were in someway a precursor to the current OpenPGP.js project. If you'd like to add your link here, please do so in a pull request or email to the list.