A port of the awesome ASN.1 Javascript Decoder for GPG messages
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.MIT
README.md Move screenshot Jan 1, 2014
base64.js Stash it Dec 20, 2013
decode.js HTML escaping Jun 23, 2014
hex.js Support partial length headers Dec 25, 2013
index.html plug dotgpg Jan 1, 2014
screenshot-1.png Move screenshot Jan 1, 2014
stream.js Support partial length headers Dec 25, 2013

README.md

An in-browser decoder for RFC 4880 (aka PGP/GPG messages).

It doesn't decrypt anything, but it is useful for debugging the (rather obscure) packet format used by GnuPG and other PGP apps.

screen shot

Usage

I'd recommend you use the version on my site at http://cirw.in/gpg-decoder/, but if you're debugging sensitive stuff and are really paranoid you might want to run it on a friendly web-server of your own.

Todo

There's a lot of RFC 4880, I mostly just implemented the bits I needed at the time. If you need anything added, please send a pull request :).

Thanks

Massive thanks to Lapo Luchini for his work on the ASN.1 Javascript decoder.

License

Unless otherwise specified the code is Copyright 2013 Conrad Irwin (see LICENSE.MIT) for details.

Most of hex.js is Copyright 2008-2013 Lapo Luchini, see the header in that file for details.