Skip to main content

Secure P2P-style file transfer via intermediate storage

Project description

p2p-copy-secure

p2p-copy 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

p2p-copy 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:

p2p-copy 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

p2p-copy 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

p2p_copy_secure-1.1.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.

p2p_copy_secure-1.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file p2p_copy_secure-1.1.0.tar.gz.

File metadata

  • Download URL: p2p_copy_secure-1.1.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 p2p_copy_secure-1.1.0.tar.gz
Algorithm Hash digest
SHA256 68df645dbcf11b49af614614c810e454c82b14e4460a5886dea7425bc662e8f2
MD5 287d2a38682693f1e6ed41949bf5097f
BLAKE2b-256 d700806be30ffa4e8f6b342edcfd8cacaa1d4b1bf736ba37bc8abc290a205e93

See more details on using hashes here.

File details

Details for the file p2p_copy_secure-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for p2p_copy_secure-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fd24722732890ca93dc11481e09f89cfe1f1079abb77c1d095487242126484d
MD5 43edde2671e430ef8370ba9c864c1ded
BLAKE2b-256 2ecef18d36b55a8ea88fc28c03488bb341811d7f7eaa7784c9942ee7bfcb25ad

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