Usable encrypted email
Usable encrypted email, powered by Keybase!
This is the repository for Confidante, an open source encrypted email client
which uses Keybase to make using PGP easier. Here,
we have the code and development instructions.
If you want to try using Confidante, visit our home page at:
https://confidante.cs.washington.edu
$ git clone git@github.com:UWCSESecurityLab/confidante.git
$ npm install
to download third-party dependencies.$ npm run build
to compile frontend assets.$ mongod
to start the database service. Leave that terminal window open.$ node src/app.js
to run the Keymail server.Instead of running npm run build
and node src/app.js
every time you make a
a change, you can use some utilities that watch the files for changes, and
automatically recompile the code and restart the server.
First, install the utilities:
$ npm install -g nodemon
$ npm install -g watchify
Now, when you’re ready to code, run these commands in separate terminal tabs:
$ scripts/watchify.sh
$ nodemon src/app.js
$ npm run build:electron
to build the Electron version of the JavaScript bundles.$ npm run electron
.$ npm run build:package
to build executables that include Electron and packages all of the code. This only builds it for the platform you’re running the script on.$ npm run build:installer-win
to build an installer for Windows. Only works on a Windows machine.The output packages/installers will be in the dist/
folder in the root directory.
SSH into a CSE machine, and upload the package to /cse/web/research/confidante/
.
The Windows version should be the EXE produced by npm build:installer-win
,
named ConfidanteSetup.exe
.
The Mac version should be a zipped up folder, produced by npm build:package
,
named Confidante-darwin-x64.zip
.