Skip to main content

Secure P2P-style file transfer via intermediate storage

Project description

p2pc-secure

p2pc-secure Demo

Secure P2P-style file transfer via intermediate storage for NAT-restricted Linux systems.

Features

  • Local Encryption: AES-256-GCM (authenticated encryption).
  • Multiple Providers: Litterbox (default), File.io, PixelDrain, and Custom Relays.
  • Visual Progress: Real-time progress bar for uploads/downloads.
  • Improved UX: Visual ANSI colors, ASCII banners, and automatic command generation for recipients.

Installation

Linux

./install.sh

Windows

install.bat

Usage

Send a file

p2pc-secure send <file_path> [--password <pass>] [--provider <name>]

Supported providers:

  • litterbox (default): 1GB limit. Files expire automatically after 1 hour (no manual delete).
  • file.io: 2GB limit. Files are automatically deleted after the first download.
  • pixeldrain: 5GB+ limit. Files expire after 30 days of inactivity.

Custom Relay

If you have your own server that can open ports, you can use it as a relay:

p2pc-secure send <file> --relay-url https://your-relay-server.com/upload

The relay should accept a POST request with the file and return the download URL as plain text.

Receive a file

p2pc-secure receive <url> --password <pass> [--output <path>]

Security

  • All files are encrypted locally with AES-256-GCM before upload.
  • The intermediate storage server never sees the plaintext data.
  • Key derivation uses PBKDF2 with a unique salt.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p2pc_secure-1.2.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

p2pc_secure-1.2.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file p2pc_secure-1.2.0.tar.gz.

File metadata

  • Download URL: p2pc_secure-1.2.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for p2pc_secure-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4cf692ce55762a72de68f99fe58cfcac3b8d9dab8012637e1c2b5247c01e7ed4
MD5 d7c03975a043eb35fdaf8f0a4b7547af
BLAKE2b-256 edfabc86218c7eb140c3b4d816066b34140aaa8209be6c05352fe29ad4fadbdc

See more details on using hashes here.

File details

Details for the file p2pc_secure-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: p2pc_secure-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for p2pc_secure-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 179f1bff1204a56959d9e74938897824a288627295a777ecf21fee493e5229eb
MD5 4442573ece3d714d76838d24e913ebba
BLAKE2b-256 e1c022fe3387e1b2ae8b703840952b774b098269490efcb40e155c03471e8e19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page