Skip to main content

Secure P2P-style file transfer via intermediate storage

Project description

p2pc-secure

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

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

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

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: p2pc_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 p2pc_secure-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d5fd12756086142459deaca7345cb7f084ed1b237d54d53cf9b5e0f43c8306a3
MD5 6edc70b63b7dbfc141ac45ed9b0f61fa
BLAKE2b-256 9f7f220d6b1fc14ab1f40826bbb02405a15b76615064b39c666c2ddce409bb37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: p2pc_secure-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9118858ecf297da95d3aaa45fa9e8639a22f5d0cc9d99413c61874c5cff97cdd
MD5 8e2b035896e43056423bec2734d19510
BLAKE2b-256 65348837a9c506235dda2d051f3e0e898cb502a6fcf6c8c33782da239116acd9

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