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.
Metadata
Release files for eshare 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eshare-1.0.0.tar.gz | 5.4 kB | Without provenance | Details for eshare-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eshare-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for eshare-1.0.0-py3-none-any.whl |
Total release size: 12.0 kB
Security for eshare 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.