https://github.com/zsolt-halo/yopass-cli
Yopass CLI
https://github.com/zsolt-halo/yopass-cli
cli python yopass yopass-cli
Last synced: 6 months ago
JSON representation
Yopass CLI
- Host: GitHub
- URL: https://github.com/zsolt-halo/yopass-cli
- Owner: zsolt-halo
- License: mit
- Created: 2019-04-30T12:58:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-07-15T06:34:26.000Z (12 months ago)
- Last Synced: 2025-11-29T04:36:58.117Z (7 months ago)
- Topics: cli, python, yopass, yopass-cli
- Language: Python
- Size: 40 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yopass-cli
[](https://travis-ci.org/zsolt-halo/yopass-cli)
[](https://badge.fury.io/py/yopass-cli)
This is a command-line tool to interact with a (the) [yopass backend](https://github.com/jhaals/yopass) created by [Johan Haals](https://github.com/jhaals).
Even though it is possible to use the service via the [web-frontend](https://yopass.se) I felt the necessity of a cli tool to use this awesome software in our automation projects.
This cli tool uses [sjcl](https://pypi.org/project/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](https://www.python.org/downloads/)+ 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 | yopass-cli send [OPTIONS]
echo "