yopass-cli
This is a command-line tool to interact with a (the) yopass backend created by Johan Haals. Even though it is possible to use the service via the web-frontend I felt the necessity of a cli tool to use this awesome software in our automation projects.
This cli tool uses sjcl (just like the web-frontend) to perform encryption on the client side thus preventing your secret from ever leaving your os in a cleartext form.
Installation
yopass-cli requires python3+ to run.
$ pip install --user yopass-cli
Make sure to have the following 2 environment variables set before using:
-
YOPASS_BACKEND_URL
-
YOPASS_FRONTEND_URL
$ export YOPASS_BACKEND_URL=https://api.yopass.se $ export YOPASS_FRONTEND_URL=https://yopass.se
If you use your own server, the front and backend URLs can be the same. For
example: https://yopass.domain.net
Usage
yopass-cli send [OPTIONS] SECRET
cat <filename> | yopass-cli send [OPTIONS]
echo "<my passphrase" | yopass-cli send [OPTIONS]
yopass-cli get [OPTIONS] SID PASSPHRASE
Send Options:
--expires [1h|1d|1w]
--outmode [verbose|one-click-link|short-link|id]
--outformat [plain|json]
Get Options:
--outformat [plain|json]
Todos
- testing
- proper README
License
MIT
Free Software, Hell Yeah!
Contribution is welcome :) 🍺Cheers 🍺
Metadata
Release files for yopass-cli 0.0.5
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 |
|---|---|---|---|---|
| yopass-cli-0.0.5.tar.gz | 3.6 kB | Without provenance | Details for yopass-cli-0.0.5.tar.gz |
Release files / yopass-cli-0.0.5.tar.gz
| Download URL | yopass-cli-0.0.5.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f602b6ebc38ff1ccce292392dba35fd93b9e380b9467c06c017c504290477cff
|
|
BLAKE2b-256 checksum How to use checksums |
633d43950894e6953b524ade1afa077fa235ca1cb6a9b954d095980c3580b1fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1
|
Security for yopass-cli 0.0.5
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.