Skip to content
/ tornote Public
forked from osminogin/tornote

Anonymous self-destructing notes written in Go

License

Notifications You must be signed in to change notification settings

cig0/tornote

This branch is 18 commits ahead of, 56 commits behind osminogin/tornote:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3f92211 · May 11, 2019

History

85 Commits
Jun 10, 2016
May 2, 2019
May 11, 2019
May 2, 2019
Feb 22, 2016
May 2, 2019
Jun 12, 2016
Jan 26, 2016
May 11, 2019
Feb 15, 2017
May 11, 2019
Jun 12, 2016
Nov 16, 2016
Mar 1, 2016
Jun 13, 2016
May 2, 2019
Sep 22, 2016
Feb 17, 2016

Repository files navigation

Tornote

Screenshot

Build Status Coverage Status

Anonymous self-destructing notes written in Go with help of Stanford JavaScript Crypto Library (SJCL) on client-side.

The server stores only encrypted data. JavaScript must be enabled, because notes are decrypted in the web browser using the key from the secret link. After reading the encrypted note, it is immediately removed from the database.

Security

How safe Tornote is compared with other similar services? More than many of them.

  • All private data in clear text doesn't leave the client-side without being encrypted first
  • Server stores only anonymous encrypted data, without any reference to it's author or reader
  • Note decryption is executed on the client-side via the SJCL. After reading the encrypted note, it's data is removed from the server

If you have ideas to improve safety/security please open a new issue.

Running with Docker

$ docker build --no-cache -t tornote .
$ docker run --name tornote -p 80:8080/tcp --memory 10m --memory-reservation 8m --cpus 0.10 tornote

License

AGPLv3 or later


TO DO (in no particular order)

+ [ DONE ] Move away from any 'latest' declaration for packages versions
+ [ DONE ] Migrate from golang:1.12.4-stretch to a smaller base
+ [ DONE ] Added package.json for future migration from Bower to Yarn
+ [ DONE ] Tornote is now running as a limited user (instead of as root) for enhanced security
+ [ DONE ] Create a multi-stage Dockerfile
- Migrate from Bower to Yarn
- Fix testing & badges

Repo notice

Branches description

  • master: production-ready branch; this is the branch that should be pulled when running this app in production
  • stage: a.k.a. release branch
  • dev: development branch; all work branches have to be merged here

How to contribute

Fork the repo and PR against dev branch.

All credits goes to the original author, thank you Vladimir Osintsev for sharing!

About

Anonymous self-destructing notes written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 49.8%
  • HTML 26.2%
  • JavaScript 10.6%
  • Dockerfile 6.0%
  • Makefile 5.0%
  • CSS 2.4%