Skip to main content

Encrypted File Sharing Command-Line Tool

Project description

Eshare

eshare is a Python command-line tool for securely sharing files. It command-line tool for securely encrypting files, sharing them with time-limited tokens, and decrypting them using a password.

Features

  • Encrypt files with a password.
  • Generate time-limited shareable tokens.
  • Decrypt files securely with the token and password.

Installation

To install eshare, use pip:

pip install eshare

Usage

Here’s a brief guide on how to use the eshare command-line tool.

Encrypting a File

To encrypt a file, use the eshare encrypt command with the --file flag to specify the file and the --password flag for encryption.

eshare encrypt --file example.txt --password mypassword

This will encrypt example.txt using the provided password.

Share a File

eshare share --file example.txt.enc --expire 24 --password mypassword

This will generate file shareable token, token is used to decrypt the file.

Decrypting a File

To decrypt an encrypted file, use the eshare decrypt command along with the --file, --token and --password flags:

eshare decrypt --file example.txt.enc --token <token> --password mypassword

This will decrypt the encrypted file example.txt.enc using the provided token and password.

Viewing Help

To view the help options and available commands for eshare, run:

eshare help

To view the help options for specific command, run:

eshare share --help

Example

Here’s a complete example of encrypting and decrypting a file:

# Encrypt a file
eshare encrypt --file example.txt --password mypassword

# Share a file
eshare share --file example.txt.enc --expire 24 --password mypassword

# Decrypt the file
eshare decrypt --file example.txt.enc --token <token> --password mypassword

About the Author

eshare is created by Parth Dudhatra (imParth), a passionate software engineer, developer advocate, and content creator known for his contributions to the tech community. He is passionate about Python programming, open-source software, and sharing knowledge with others.

Parth is active on various social media platforms, where he shares insights, tutorials, and tips related to programming, software development, and security. Connect with Parth Dudhatra on social media:

If you have any questions, feedback, or suggestions, feel free to reach out to me on any platform!

License

This project is licensed under the ISC License.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

Issues

If you encounter any issues, please report them on the issues page.

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

eshare-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

eshare-1.0.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file eshare-1.0.0.tar.gz.

File metadata

  • Download URL: eshare-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for eshare-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b2ae96e0b8239d9b02a4dc758b85c8c299ba4917d1e51b8d93b5fbf563a2cc80
MD5 a6a4d53e5c472d819bc39f4c463d6442
BLAKE2b-256 98b06ce2832e017cc92dcff60adfbd062b6f222a94fcac77c7db10243668e510

See more details on using hashes here.

File details

Details for the file eshare-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: eshare-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for eshare-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ada6c8ea3c91cee6b81ef6c74cc6e6629e12eb9d7f755b42404ad61d247e095
MD5 ca2aed5205841a65c7c8d6d4d4abc6ed
BLAKE2b-256 8d4c21307386a3920f3eaf53cdd62cf1c3140128cbfa1287553c7c5dd698b6bb

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