Share files via a bridge server using TCP over SSL and end-to-end encryption.
Project description
filebridging
Share files via a bridge server using TCP over SSL and end-to-end encryption.
Requirements
Python3.8+ is needed for this package.
Usage
If you need a virtual environment, create it.
python3.8 -m venv env;
alias pip="env/bin/pip";
alias python="env/bin/python";
Install filebridging and read the help.
pip install filebridging
python -m filebridging.server --help
python -m filebridging.client --help
Examples
-
Client-server example
# 3 distinct tabs python -m filebridging.server --host localhost --port 5000 --certificate ~/.ssh/server.crt --key ~/.ssh/server.key python -m filebridging.client s --host localhost --port 5000 --certificate ~/.ssh/server.crt --token 12345678 --password supersecretpasswordhere --path ~/file_to_send python -m filebridging.client r --host localhost --port 5000 --certificate ~/.ssh/server.crt --token 12345678 --password supersecretpasswordhere --path ~/Downloads
-
Client-client example
# 2 distinct tabs python -m filebridging.client s --host localhost --port 5000 --certificate ~/.ssh/server.crt --key ~/.ssh/private.key --token 12345678 --password supersecretpasswordhere --path ~/file_to_send --standalone python -m filebridging.client r --host localhost --port 5000 --certificate ~/.ssh/server.crt --token 12345678 --password supersecretpasswordhere --path ~/Downloads
The receiver client may be standalone as well: just add the
--key
parameter (for SSL-secured sessions) and the--standalone
flag. -
Configuration file example
#!/bin/python host = "www.example.com" port = 5000 certificate = "/path/to/public.crt" key = "/path/to/private.key" action = 'r' password = 'verysecretpassword' token = 'sessiontok' file_path = '.'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
filebridging-0.0.3.tar.gz
(13.3 kB
view hashes)
Built Distribution
Close
Hashes for filebridging-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9381917121f2e14658c23ce046b2e4d855a4f996ced215be88ce9ca20fc977a |
|
MD5 | f7c4ed69803b267c1365ef29b1cfde74 |
|
BLAKE2b-256 | 81a40d2ada773675d2c5f47b7146de02a45a97bdbdb3232af55aa15316c1119d |