All Projects → Tygs → 0bin

Tygs / 0bin

Licence: wtfpl
Client side encrypted pastebin

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to 0bin

Cowyo
A feature-rich wiki webserver for minimalists 🐮 💬
Stars: ✭ 711 (-32.35%)
Mutual labels:  pastebin, encryption
Dbfs
Distributed Blockchain-based File Storage 📡
Stars: ✭ 45 (-95.72%)
Mutual labels:  encryption
Pki.js
PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
Stars: ✭ 960 (-8.66%)
Mutual labels:  encryption
Vaulty
Tokenize, encrypt/decrypt, mask your data on the fly with Vaulty proxy
Stars: ✭ 38 (-96.38%)
Mutual labels:  encryption
Sharpultimatetools
A Large Repository Of Awesome Scripts For C#.
Stars: ✭ 33 (-96.86%)
Mutual labels:  encryption
Featherpasswordmanager
Highly portable extremely light-weight password manager that stores all your passwords in a local encrypted file.
Stars: ✭ 39 (-96.29%)
Mutual labels:  encryption
Php Storageless Sessions
Sessions handler which stores session data in HMAC-signed and encrypted cookies
Stars: ✭ 29 (-97.24%)
Mutual labels:  encryption
Linx Server
Self-hosted file/code/media sharing website. ~~~~~~~~~~~~~~~~~~~ Demo: https://demo.linx-server.net/
Stars: ✭ 1,044 (-0.67%)
Mutual labels:  pastebin
Enigma
Gradle Plugin - Obfuscator String Encryption (Android/Java)
Stars: ✭ 43 (-95.91%)
Mutual labels:  encryption
Archuseriso
Build Arch Linux iso images, create live usb drives, install on usb drives.
Stars: ✭ 36 (-96.57%)
Mutual labels:  encryption
Horizoncrypt
Animal Crossing: New Horizons Save Encryptor/Decryptor
Stars: ✭ 36 (-96.57%)
Mutual labels:  encryption
Awesome Scalability Toolbox
My opinionated list of products and tools used for high-scalability projects
Stars: ✭ 34 (-96.76%)
Mutual labels:  encryption
Node Argon2
Node.js bindings for Argon2 hashing algorithm
Stars: ✭ 1,008 (-4.09%)
Mutual labels:  encryption
Kafka End 2 End Encryption
De-/Serialization wrapper for Kafka to accomplish end to end encryption
Stars: ✭ 32 (-96.96%)
Mutual labels:  encryption
Korra
A quick and simple encrypted file store for easy sharing within your organisation
Stars: ✭ 46 (-95.62%)
Mutual labels:  encryption
Siodb
The simplicity of REST and the power of SQL combined in a database that automatized security and performance. Forget the database, develop faster and safer!
Stars: ✭ 31 (-97.05%)
Mutual labels:  encryption
Iocane
An odorless, tasteless NodeJS crypto library that dissolves instantly in liquid
Stars: ✭ 35 (-96.67%)
Mutual labels:  encryption
Transcrypt
transparently encrypt files within a git repository
Stars: ✭ 993 (-5.52%)
Mutual labels:  encryption
Vinergy
CLI Pastebin within Vim energy (https://git.io/vn)
Stars: ✭ 49 (-95.34%)
Mutual labels:  pastebin
Passage
A password manager using https://age-encryption.org/
Stars: ✭ 48 (-95.43%)
Mutual labels:  encryption

0bin: a client side encrypted pastebin

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

  • Try it: 0bin.net <http://0bin.net>_
  • Report a bug <https://github.com/sametmax/0bin/issues>_

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:

  • the browser generates a random key;
  • the pasted content is encrypted with this key using AES256;
  • the encrypted pasted content is sent to the server;
  • the browser receives the paste URL and adds the key in the URL hash (#).

When reading the paste:

  • the browser makes the GET request to the paste URL;
  • because the key is in the hash, the key is not part of the request;
  • browser gets the encrypted content end decrypts it using the key;
  • the pasted decrypted content is displayed and sourcecode is highlighted.

Key points:

  • because the key is in the hash, the key is never sent to the server;
  • therefore it won't appear in the server logs;
  • all operations, including code coloration, happen on the client-side;
  • the server is no more than a fancy recipient for the encrypted data.

Other features

  • automatic code coloration (no need to specify the language);
  • pastebin expiration: 1 day, 1 month or never;
  • burn after reading: the paste is destroyed after the first reading;
  • clone paste: you can't edit a paste, but you can duplicate any of them;
  • code upload: if a file is too big, you can upload it instead of using copy/paste;
  • copy paste to clipboard in a click;
  • own previous pastes history;
  • reader mode;

Known issues

  • 0bin uses several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can.
  • The pasted content size limit check is not accurate. It's just a safety net, so we think it's ok.

.. _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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].