GithubHelp home page GithubHelp logo

l1mey112 / filesharing-v Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 198 KB

A way to securely send encrypted data to all machines "listening" for it. Written in V

License: GNU General Public License v3.0

V 87.72% Shell 0.44% JavaScript 11.84%

filesharing-v's Introduction

filesharing-v

A way to securely send encrypted data to all machines "listening" for it. Written in V

The server folder contains the necessary skeleton for creating a dumb server that only relays incoming packets to all connections

Blog post

Help message

Commands: send, listen, reset, list, unpack, add, help

This is a simple tool to send and receive encrypted files over a websocket. Files are encrypted using AES, and your own key used to encrypt the file is stored locally, next to executable as .vkey

Use send to send a file, and listen to receive files When sending a file, it will compress and encrypt the files bytes and send them over the websocket.

Succesfully sending a file will create a .vkey file with the key used to encrypt it, eg file.txt.vkey Send this file to the receiver, and they will be able to decrypt it.

The "bounce server" will relay the file to all clients indiscriminately, therefore it must wait for a response back to delete the lockfile created alongside the key. Placing a .server file in the vbucket directory with the URL of another bounce server will will override the default server, which is wss://sockets.l-m.dev

When receiving a file, it will listen for any incoming files and store them in the vbucket directory with the extension .vbytes

To list all files in the vbucket directory, use list

Use add to add a new key to the local bucket, for decrypting a file with the same base name

Then, use unpack to decrypt all files in the vbucket directory, and place them in the current directory

For example, add file.txt.vkey will add a key for received file file.txt.vbytes to later decrypt into file.txt using unpack

Use reset to change your encryption key

filesharing-v's People

Contributors

l1mey112 avatar

Watchers

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