Coder Social home page Coder Social logo

one-time-note's Introduction

one-time-note

A service that let's your write Mission-Impossible style notes that can only be viewed once.

This is a stab at making a clone of privnote, undertaken because I didn't trust them. In an early blog post I read of the author's, he seemed a bit tone-deaf to the concerns that people might not be willing to take his word for it that he destroyed logs on his server, etc. Also, privnote, it seems, uses an old library and algorithm for AES encryption: gibberish-aes, the README for which says:

This library is a quite old, and uses an older and non-authenticated cipher mode, CBC. There are better and more frequently maintained alternatives

So, it would be good to finish this one.

How it works

It's expected that this will be used only over HTTPS.

The entry point is just an HTML form, "tnwsd.html". The "index.html" page should redirect to that one.

The user types in his or her note, and clicks the button. The client encrypts the note using an auto-generated key that should be long enough to resist brute force hacking for the foreseeable future. The key is 30 random, base 64 characters.

The JS then POSTS to post.cgi, sending the first half of the key and the ciphertext. post.cgi stores the ciphertext in a data file, using the first half lf the key as f filename.

Third-party libraries

  • jQuery: version 3.1.0
  • crypto-js, version 3.1.6, downloaded on 2016-08-13 from here

one-time-note's People

Contributors

klortho avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.