Skip to content

Get anonymous feedback & tips from the communities you want

License

Notifications You must be signed in to change notification settings

Bhanditz/tipbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tipbox

Share a unique URL to receive anonymous tips (with end-to-end PGP encryption). Try it at https://tipbox.is

Main features

  • Nothing to install for the tipsters, they just need to open the unique URL generated at the creation of the Tipbox.
  • Support for photo/document upload.
  • Stateless, no logs in production (no information is ever saved).
  • Unique information about the Tipbox is in the hash of the URL so that no one can tell who opened a particular Tipbox by monitoring the network traffic.
  • PGP encryption between the frontend and the backend so that men-in-the-middle can't read the content of the requests sent to the backend.
  • Support for End-To-End encryption with PGP.
  • Automatically fetches the PGP key of the recipient from public key servers at the creation of the tipbox if one exists (you need to manually verify and select it to avoid spoofing).

Disclaimer

This is open source software, use at your own risk.

There is always a tradeoff between ease of use and security (that's why you don't live in a bunker). By not requiring your potential sources to install an app, there is a risk that a hacker could tamper with the files served to them to include a key logger. Depending on your threat model, this may or may not matter. It’s all about finding the appropriate tool for the job. Read more about the security of Tipbox.

How install

Setting up the keys for testing

PASSPHRASE=1234 IDENTITY="<tips@tipbox.in>" node ./server/utils/keygen.js
# Will generate private and public keys under the 'keys' directory

Running the server with the keys

PGP_PASSPHRASE=1234 npm start

Locally for development:

After cloning this repo, simply run

npm install --dev
npm run dev

This will serve the static files from frontend/src and watch for any change. When any file in frontend/src/less/ or frontend/src/js/* changes, gulp will run the less and the browserify tasks.

In production mode

npm install;
npm run build;
NODE_ENV=tipbox.is npm start;

This will serve the static files from frontend/dist.

Generating an invitation URL

During the private beta, an invitation code is required to create a tipbox. You can generate one with the following command line:

NODE_ENV=production PGP_PASSPHRASE=1234 HMAC_KEY=[HMAC_KEY of the server] node invite.js [email address]

Frontend tests with Nightwatch

Getting started

Install Selenium

Download the selenium-server-standalone-2.44.0.jar and move it to test/lib/selenium-server-standalone-2.44.0.jar

On MacOSX Yosemite, you might also need to install Java (yes, I know... don't look at me this way...). You can download it from this page.

Install the Chrome Driver

Download the chrome driver from http://chromedriver.storage.googleapis.com/, unzip it and move it to test/lib/chromedriver

Install nightwatch

npm install -g nightwatch

And finally, you can run the tests:

nightwatch --config test/nightwatch.json

Or simply put, npm run test

Who is behind this?

Xavier Damman (@xdamman) and Mark Percival (@mdp)

This is an open source project. Contributions are welcome! https://github.com/xdamman/tipbox.

About

Get anonymous feedback & tips from the communities you want

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 39.9%
  • CSS 33.1%
  • HTML 26.8%
  • Makefile 0.2%