Published on September 20th, 2015 📆 | 4041 Views ⚑
0End-To-End — OpenPGP Chrome Extension
https://www.ispeech.org
End-To-End is a Chrome extension that helps you encrypt, decrypt, digitally sign, and verify signed messages within the browser using OpenPGP.
This is the source code for the alpha release of the End-To-End Chrome extension. It’s built upon a newly developed, JavaScript-based crypto library. End-To-End implements the OpenPGP standard, IETF RFC 4880, enabling key generation, encryption, decryption, digital signature, and signature verification. We’re releasing this code to enable community review; it is not yet ready for general use.
Requirements
Building End-To-End should be fairly easy on any Linux or Mac OS X system, however OS X users need to install JDK 1.7 from Oracle (Download). A Windows build environment is not supported.
To build End-To-End, the following requirements must be met:
- bash
- git
- curl
- unzip
- ant
- JDK 1.7
- Python
Usage
Every task can be run from do.sh Bash script:
$ ./do.sh Usage: ./do.sh {build_extension|build_library|build_templates|clean|check_deps|install_deps|testserver}
[adsense size='1']
Setup
$ git clone https://github.com/google/end-to-end [...] $ cd end-to-end/ $ ./do.sh install_deps Installing build dependencies... ...
Building the End-To-End extension
$ ./do.sh build_extension All dependencies met. All dependencies met. Compiling Soy templates... Done. Using previous template build - ./do.sh clean if you with to rebuild the templates. Building End-To-End extension to build/extension Compiling JS files... ...... Compiling CSS files... Copying extension files... Done. $ ls build/extension/ glass_binary.js images prompt.html welcome_binary.js glass.html launcher_binary.js prompt_styles.css welcome.html glass_styles.css _locales settings_binary.js welcome_styles.css gmonkeystub.js manifest.json settings.html helper_binary.js prompt_binary.js settings_styles.css
The extension can be now loaded into Chrome by navigating to chrome://extensionspage, turning on “Developer mode” and using the ‘Load unpacked extension…’ button.
[adsense size='1']
Building the library only
$ ./do.sh build_library All dependencies met. Building End-To-End library into build/library ... .. Done. $ ls build/library/ end-to-end.compiled.js end-to-end.debug.js
Generated files can now be loaded in a <script> tag. OpenPGP functions are provided via e2e.openpgp.ContextImpl object.
Starting the test server
$ ./do.sh testserver Using previous template build - ./do.sh clean if you with to rebuild the templates. Generating build/test_js_deps-runfiles.js file... Starting the End-To-End test server (Press Ctrl-C to stop)... Starting test server at https://127.0.0.1:8000
Gloss