Tygs / 0bin

Client side encrypted pastebin
https://0bin.net
Do What The F*ck You Want To Public License
1.37k stars 198 forks source link
encryption pastebin pastebin-service python

0bin: a client side encrypted pastebin

0bin is a pastebin that encrypts the user content in the browser and can run without a database.

0bin allows anybody to host a pastebin while welcoming any type of content to be pasted in it. The idea is that one can (probably...) not be legally entitled to moderate the pastebin content_ as they have no way to decrypt it.

It's an Python implementation of the zerobin project, created by sebsauvage, under the WTFPL licence.

To run zerobin, download zerobin.pyz from the latest release_ then:

::

python zerobin.pyz

0bin requires Python 3.7 or higher.

You may need to type :code:py -3.7 zerobin.pyz on Windows, or :code:python3.7 zerobin.pyz on Mac/Linux, depending on your configuration.

If you are familiar with the Python ecosystem, you can also :code:python -m pip install zerobin --user and run :code:python -m zerobin for the same effect.

How it works

When creating the paste:

When reading the paste:

Key points:

Other features

Known issues

.. _moderate the pastebin content: http://www.zdnet.com/blog/security/pastebin-to-hunt-for-hacker-pastes-anonymous-cries-censorship/11336 .. _zerobin project: https://github.com/sebsauvage/ZeroBin/ .. _node.js: http://nodejs.org/ .. _is not worth it: http://stackoverflow.com/questions/201705/how-many-random-elements-before-md5-produces-collisions .. _WTFPL licence: http://en.wikipedia.org/wiki/WTFPL .. _release: https://github.com/Tygs/0bin/releases

Contributing

We cannot accept contributions for the moment, and will ignore PR.